├── .editorconfig ├── .gitattributes ├── .gitignore ├── .travis.yml ├── KIBANA.md ├── LICENSE ├── Makefile ├── README.md ├── RUN.md ├── RUN_Windows.md ├── beater ├── cluster.go ├── cluster_test.go ├── config.go ├── elasticbeat.go ├── nodes.go ├── nodes_test.go └── tools.go ├── docs ├── fields.asciidoc └── images │ ├── elasticbeat_1.png │ └── elasticbeat_2.png ├── elasticbeat.yml ├── etc ├── beat.yml ├── elasticbeat.template.json └── fields.yml ├── example ├── cluster_health.json ├── cluster_stats.json ├── node_id.txt └── nodes_stats.json ├── glide.yaml ├── kibana └── dashboards │ ├── dashboard │ └── Elasticbeat-Dashboard.json │ ├── index-pattern │ └── elasticbeat.json │ ├── search │ ├── Cluster-health.json │ ├── Cluster-node.json │ └── Cluster-stats.json │ └── visualization │ ├── Cluster-OS-CPU.json │ ├── Cluster-document-count.json │ ├── Cluster-health-shards.json │ ├── Cluster-status.json │ └── Nodes-Heap-and-NonHeap.json ├── main.go ├── main_test.go └── vendor ├── github.com ├── Shopify │ └── sarama │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── MIT-LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── Vagrantfile │ │ ├── async_producer.go │ │ ├── async_producer_test.go │ │ ├── broker.go │ │ ├── broker_test.go │ │ ├── client.go │ │ ├── client_test.go │ │ ├── config.go │ │ ├── config_test.go │ │ ├── consumer.go │ │ ├── consumer_group_members.go │ │ ├── consumer_group_members_test.go │ │ ├── consumer_metadata_request.go │ │ ├── consumer_metadata_request_test.go │ │ ├── consumer_metadata_response.go │ │ ├── consumer_metadata_response_test.go │ │ ├── consumer_test.go │ │ ├── crc32_field.go │ │ ├── describe_groups_request.go │ │ ├── describe_groups_request_test.go │ │ ├── describe_groups_response.go │ │ ├── describe_groups_response_test.go │ │ ├── encoder_decoder.go │ │ ├── errors.go │ │ ├── examples │ │ ├── README.md │ │ └── http_server │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── http_server.go │ │ │ └── http_server_test.go │ │ ├── fetch_request.go │ │ ├── fetch_request_test.go │ │ ├── fetch_response.go │ │ ├── fetch_response_test.go │ │ ├── functional_client_test.go │ │ ├── functional_consumer_test.go │ │ ├── functional_offset_manager_test.go │ │ ├── functional_producer_test.go │ │ ├── functional_test.go │ │ ├── heartbeat_request.go │ │ ├── heartbeat_request_test.go │ │ ├── heartbeat_response.go │ │ ├── heartbeat_response_test.go │ │ ├── join_group_request.go │ │ ├── join_group_request_test.go │ │ ├── join_group_response.go │ │ ├── join_group_response_test.go │ │ ├── leave_group_request.go │ │ ├── leave_group_request_test.go │ │ ├── leave_group_response.go │ │ ├── leave_group_response_test.go │ │ ├── length_field.go │ │ ├── list_groups_request.go │ │ ├── list_groups_request_test.go │ │ ├── list_groups_response.go │ │ ├── list_groups_response_test.go │ │ ├── message.go │ │ ├── message_set.go │ │ ├── message_test.go │ │ ├── metadata_request.go │ │ ├── metadata_request_test.go │ │ ├── metadata_response.go │ │ ├── metadata_response_test.go │ │ ├── mockbroker_test.go │ │ ├── mockresponses_test.go │ │ ├── mocks │ │ ├── README.md │ │ ├── async_producer.go │ │ ├── async_producer_test.go │ │ ├── consumer.go │ │ ├── consumer_test.go │ │ ├── mocks.go │ │ ├── sync_producer.go │ │ └── sync_producer_test.go │ │ ├── offset_commit_request.go │ │ ├── offset_commit_request_test.go │ │ ├── offset_commit_response.go │ │ ├── offset_commit_response_test.go │ │ ├── offset_fetch_request.go │ │ ├── offset_fetch_request_test.go │ │ ├── offset_fetch_response.go │ │ ├── offset_fetch_response_test.go │ │ ├── offset_manager.go │ │ ├── offset_manager_test.go │ │ ├── offset_request.go │ │ ├── offset_request_test.go │ │ ├── offset_response.go │ │ ├── offset_response_test.go │ │ ├── packet_decoder.go │ │ ├── packet_encoder.go │ │ ├── partitioner.go │ │ ├── partitioner_test.go │ │ ├── prep_encoder.go │ │ ├── produce_request.go │ │ ├── produce_request_test.go │ │ ├── produce_response.go │ │ ├── produce_response_test.go │ │ ├── produce_set.go │ │ ├── produce_set_test.go │ │ ├── real_decoder.go │ │ ├── real_encoder.go │ │ ├── request.go │ │ ├── request_test.go │ │ ├── response_header.go │ │ ├── response_header_test.go │ │ ├── sarama.go │ │ ├── snappy.go │ │ ├── snappy_test.go │ │ ├── sync_group_request.go │ │ ├── sync_group_request_test.go │ │ ├── sync_group_response.go │ │ ├── sync_group_response_test.go │ │ ├── sync_producer.go │ │ ├── sync_producer_test.go │ │ ├── tools │ │ ├── README.md │ │ ├── kafka-console-consumer │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ └── kafka-console-consumer.go │ │ ├── kafka-console-partitionconsumer │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ └── kafka-console-partitionconsumer.go │ │ └── kafka-console-producer │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ └── kafka-console-producer.go │ │ ├── utils.go │ │ └── vagrant │ │ ├── boot_cluster.sh │ │ ├── create_topics.sh │ │ ├── install_cluster.sh │ │ ├── kafka.conf │ │ ├── provision.sh │ │ ├── run_toxiproxy.sh │ │ ├── server.properties │ │ ├── setup_services.sh │ │ ├── toxiproxy.conf │ │ ├── zookeeper.conf │ │ └── zookeeper.properties ├── dustin │ └── go-humanize │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.markdown │ │ ├── big.go │ │ ├── bigbytes.go │ │ ├── bigbytes_test.go │ │ ├── bytes.go │ │ ├── bytes_test.go │ │ ├── comma.go │ │ ├── comma_test.go │ │ ├── common_test.go │ │ ├── ftoa.go │ │ ├── ftoa_test.go │ │ ├── humanize.go │ │ ├── number.go │ │ ├── number_test.go │ │ ├── ordinals.go │ │ ├── ordinals_test.go │ │ ├── si.go │ │ ├── si_test.go │ │ ├── times.go │ │ └── times_test.go ├── eapache │ ├── go-resiliency │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── batcher │ │ │ ├── README.md │ │ │ ├── batcher.go │ │ │ └── batcher_test.go │ │ ├── breaker │ │ │ ├── README.md │ │ │ ├── breaker.go │ │ │ └── breaker_test.go │ │ ├── deadline │ │ │ ├── README.md │ │ │ ├── deadline.go │ │ │ └── deadline_test.go │ │ ├── retrier │ │ │ ├── README.md │ │ │ ├── backoffs.go │ │ │ ├── backoffs_test.go │ │ │ ├── classifier.go │ │ │ ├── classifier_test.go │ │ │ ├── retrier.go │ │ │ └── retrier_test.go │ │ └── semaphore │ │ │ ├── README.md │ │ │ ├── semaphore.go │ │ │ └── semaphore_test.go │ └── queue │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── queue.go │ │ └── queue_test.go ├── elastic │ └── beats │ │ ├── .appveyor.yml │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .github │ │ └── ISSUE_TEMPLATE.md │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.asciidoc │ │ ├── CONTRIBUTING.md │ │ ├── Dockerfile │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── Vagrantfile │ │ ├── dev-tools │ │ ├── .beatconfig │ │ ├── README.md │ │ ├── aggregate_coverage.py │ │ ├── deploy │ │ ├── export_dashboards.py │ │ ├── get_version │ │ ├── import_dashboards.ps1 │ │ ├── import_dashboards.sh │ │ ├── merge_pr │ │ ├── packer │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── archs │ │ │ │ ├── 386.yml │ │ │ │ └── amd64.yml │ │ │ ├── beats │ │ │ │ ├── filebeat.yml │ │ │ │ ├── metricbeat.yml │ │ │ │ ├── packetbeat.yml │ │ │ │ ├── topbeat.yml │ │ │ │ └── winlogbeat.yml │ │ │ ├── docker │ │ │ │ ├── deb-rpm-s3 │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── Dockerfile │ │ │ │ │ ├── build.sh │ │ │ │ │ ├── deb-rpm-s3.sh │ │ │ │ │ ├── deb-s3.expect │ │ │ │ │ ├── debsign.expect │ │ │ │ │ ├── publish-package-repositories.sh │ │ │ │ │ ├── rpm-s3.expect │ │ │ │ │ ├── rpmmacros │ │ │ │ │ └── rpmsign.expect │ │ │ │ ├── fpm-image │ │ │ │ │ └── Dockerfile │ │ │ │ ├── go-daemon │ │ │ │ │ ├── Dockerfile │ │ │ │ │ └── build_go_daemon.sh │ │ │ │ ├── xgo-image-deb6 │ │ │ │ │ ├── base │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ ├── bootstrap.sh │ │ │ │ │ │ ├── bootstrap_pure.sh │ │ │ │ │ │ ├── build.sh │ │ │ │ │ │ ├── build_deps.sh │ │ │ │ │ │ ├── fetch.sh │ │ │ │ │ │ └── sources.list │ │ │ │ │ ├── beats-builder │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ └── gopacket_pcap.patch │ │ │ │ │ ├── build.sh │ │ │ │ │ └── go-1.6 │ │ │ │ │ │ └── Dockerfile │ │ │ │ └── xgo-image │ │ │ │ │ ├── base │ │ │ │ │ ├── Dockerfile │ │ │ │ │ ├── bootstrap.sh │ │ │ │ │ ├── bootstrap_pure.sh │ │ │ │ │ ├── build.sh │ │ │ │ │ ├── build_deps.sh │ │ │ │ │ └── fetch.sh │ │ │ │ │ ├── beats-builder │ │ │ │ │ ├── Dockerfile │ │ │ │ │ ├── gopacket_pcap.patch │ │ │ │ │ └── wpcap.dll │ │ │ │ │ ├── build.sh │ │ │ │ │ └── go-1.6 │ │ │ │ │ └── Dockerfile │ │ │ ├── platforms │ │ │ │ ├── binary │ │ │ │ │ ├── build.sh │ │ │ │ │ └── run.sh.j2 │ │ │ │ ├── centos │ │ │ │ │ ├── beatname.sh.j2 │ │ │ │ │ ├── build.sh │ │ │ │ │ ├── init.j2 │ │ │ │ │ ├── run.sh.j2 │ │ │ │ │ └── systemd.j2 │ │ │ │ ├── darwin │ │ │ │ │ ├── build.sh │ │ │ │ │ └── run.sh.j2 │ │ │ │ ├── debian │ │ │ │ │ ├── beatname.sh.j2 │ │ │ │ │ ├── build.sh │ │ │ │ │ ├── init.j2 │ │ │ │ │ ├── run.sh.j2 │ │ │ │ │ └── systemd.j2 │ │ │ │ └── windows │ │ │ │ │ ├── build.sh │ │ │ │ │ ├── install-service.ps1.j2 │ │ │ │ │ ├── run.sh.j2 │ │ │ │ │ └── uninstall-service.ps1.j2 │ │ │ ├── scripts │ │ │ │ └── Makefile │ │ │ ├── version.yml │ │ │ └── xgo-scripts │ │ │ │ └── before_build.sh │ │ └── set_version │ │ ├── filebeat │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── README.md │ │ ├── beater │ │ │ ├── filebeat.go │ │ │ ├── filebeat_test.go │ │ │ ├── publish.go │ │ │ ├── publish_test.go │ │ │ ├── spooler.go │ │ │ └── spooler_test.go │ │ ├── config │ │ │ ├── config.go │ │ │ └── config_test.go │ │ ├── crawler │ │ │ ├── crawler.go │ │ │ ├── crawler_test.go │ │ │ ├── prospector.go │ │ │ ├── prospector_log.go │ │ │ ├── prospector_stdin.go │ │ │ ├── prospector_test.go │ │ │ └── registrar.go │ │ ├── docs │ │ │ ├── command-line.asciidoc │ │ │ ├── configuring-howto.asciidoc │ │ │ ├── faq.asciidoc │ │ │ ├── fields.asciidoc │ │ │ ├── filebeat-filtering.asciidoc │ │ │ ├── getting-started.asciidoc │ │ │ ├── images │ │ │ │ ├── filebeat-overview.png │ │ │ │ ├── filebeat.png │ │ │ │ └── option_ignore_outgoing.png │ │ │ ├── index.asciidoc │ │ │ ├── migration.asciidoc │ │ │ ├── multiple-prospectors.asciidoc │ │ │ ├── overview.asciidoc │ │ │ ├── reference.asciidoc │ │ │ ├── reference │ │ │ │ ├── configuration.asciidoc │ │ │ │ └── configuration │ │ │ │ │ └── filebeat-options.asciidoc │ │ │ ├── securing-filebeat.asciidoc │ │ │ ├── support.asciidoc │ │ │ └── troubleshooting.asciidoc │ │ ├── etc │ │ │ ├── README.md │ │ │ ├── beat.yml │ │ │ ├── fields.yml │ │ │ └── kibana │ │ │ │ └── index-pattern │ │ │ │ └── filebeat.json │ │ ├── filebeat.template.json │ │ ├── filebeat.yml │ │ ├── harvester │ │ │ ├── encoding │ │ │ │ ├── encoding.go │ │ │ │ ├── mixed.go │ │ │ │ ├── reader.go │ │ │ │ ├── reader_test.go │ │ │ │ ├── utf16.go │ │ │ │ └── utf16_test.go │ │ │ ├── file.go │ │ │ ├── filestat.go │ │ │ ├── harvester.go │ │ │ ├── harvester_test.go │ │ │ ├── linereader.go │ │ │ ├── log.go │ │ │ ├── log_test.go │ │ │ ├── processor │ │ │ │ ├── multiline.go │ │ │ │ ├── multiline_test.go │ │ │ │ ├── processor.go │ │ │ │ ├── processor_test.go │ │ │ │ └── timeout.go │ │ │ ├── reader.go │ │ │ ├── sources.go │ │ │ ├── stdin.go │ │ │ ├── util.go │ │ │ └── util_test.go │ │ ├── input │ │ │ ├── event.go │ │ │ ├── file.go │ │ │ ├── file_other.go │ │ │ ├── file_other_test.go │ │ │ ├── file_test.go │ │ │ ├── file_windows.go │ │ │ ├── file_windows_test.go │ │ │ └── state.go │ │ ├── invalid.json │ │ ├── main.go │ │ ├── main_test.go │ │ ├── make.bat │ │ └── tests │ │ │ ├── files │ │ │ ├── config.yml │ │ │ ├── config2.yml │ │ │ └── logs │ │ │ │ ├── .gitignore │ │ │ │ ├── docker.log │ │ │ │ ├── docker_multiline.log │ │ │ │ ├── elasticsearch-multiline-log.log │ │ │ │ ├── json.log │ │ │ │ ├── json_override.log │ │ │ │ ├── json_timestamp.log │ │ │ │ ├── json_type.log │ │ │ │ ├── multiline-c-log.log │ │ │ │ ├── nasa-50k.log.gz │ │ │ │ ├── system.log │ │ │ │ └── test.log │ │ │ ├── load │ │ │ ├── Makefile │ │ │ ├── filebeat.yml │ │ │ └── load.py │ │ │ └── system │ │ │ ├── .gitignore │ │ │ ├── config │ │ │ ├── filebeat.yml.j2 │ │ │ └── filebeat_prospectors.yml.j2 │ │ │ ├── filebeat.py │ │ │ ├── test_crawler.py │ │ │ ├── test_fields.py │ │ │ ├── test_filtering.py │ │ │ ├── test_json.py │ │ │ ├── test_multiline.py │ │ │ ├── test_prospector.py │ │ │ ├── test_registrar.py │ │ │ └── test_shutdown.py │ │ ├── glide.yaml │ │ ├── libbeat │ │ ├── .gitignore │ │ ├── Dockerfile │ │ ├── Makefile │ │ ├── README.md │ │ ├── beat │ │ │ ├── beat.go │ │ │ ├── beat_test.go │ │ │ ├── errors.go │ │ │ └── version.go │ │ ├── cfgfile │ │ │ ├── cfgfile.go │ │ │ ├── cfgfile_test.go │ │ │ └── env.go │ │ ├── common │ │ │ ├── bytes.go │ │ │ ├── bytes_test.go │ │ │ ├── cache.go │ │ │ ├── cache_test.go │ │ │ ├── config.go │ │ │ ├── csv.go │ │ │ ├── csv_test.go │ │ │ ├── datetime.go │ │ │ ├── datetime_test.go │ │ │ ├── droppriv │ │ │ │ ├── droppriv_unix.go │ │ │ │ └── droppriv_windows.go │ │ │ ├── endpoint.go │ │ │ ├── event.go │ │ │ ├── event_test.go │ │ │ ├── geolite.go │ │ │ ├── mapstr.go │ │ │ ├── mapstr_test.go │ │ │ ├── net.go │ │ │ ├── net_test.go │ │ │ ├── op │ │ │ │ ├── cancel.go │ │ │ │ ├── signal.go │ │ │ │ └── signal_util.go │ │ │ ├── statuses.go │ │ │ ├── streambuf │ │ │ │ ├── ascii.go │ │ │ │ ├── ascii_test.go │ │ │ │ ├── io.go │ │ │ │ ├── io_test.go │ │ │ │ ├── net.go │ │ │ │ ├── net_test.go │ │ │ │ ├── streambuf.go │ │ │ │ └── streambuf_test.go │ │ │ ├── string.go │ │ │ ├── tuples.go │ │ │ └── tuples_test.go │ │ ├── docker-compose.yml │ │ ├── docs │ │ │ ├── command-line.asciidoc │ │ │ ├── communitybeats.asciidoc │ │ │ ├── dashboards.asciidoc │ │ │ ├── debugging.asciidoc │ │ │ ├── filtering.asciidoc │ │ │ ├── filteringconfig.asciidoc │ │ │ ├── getting-help.asciidoc │ │ │ ├── gettingstarted.asciidoc │ │ │ ├── https.asciidoc │ │ │ ├── images │ │ │ │ ├── beat_overview.png │ │ │ │ ├── beat_overview.svg │ │ │ │ ├── beats-logstash.png │ │ │ │ ├── beats-platform.png │ │ │ │ ├── kibana-created-indexes.png │ │ │ │ ├── kibana-navigation-vis.png │ │ │ │ └── option_ignore_outgoing.png │ │ │ ├── index.asciidoc │ │ │ ├── installing-beats.asciidoc │ │ │ ├── loggingconfig.asciidoc │ │ │ ├── newbeat.asciidoc │ │ │ ├── newdashboards.asciidoc │ │ │ ├── outputconfig.asciidoc │ │ │ ├── overview.asciidoc │ │ │ ├── regexp.asciidoc │ │ │ ├── release.asciidoc │ │ │ ├── repositories.asciidoc │ │ │ ├── runconfig.asciidoc │ │ │ ├── shared-command-line.asciidoc │ │ │ ├── shared-config-ingest.asciidoc │ │ │ ├── shared-directory-layout.asciidoc │ │ │ ├── shared-env-vars.asciidoc │ │ │ ├── shared-faq.asciidoc │ │ │ ├── shared-logstash-config.asciidoc │ │ │ ├── shared-path-config.asciidoc │ │ │ ├── shared-template-load.asciidoc │ │ │ ├── shared-tls-logstash-config.asciidoc │ │ │ ├── shipperconfig.asciidoc │ │ │ ├── visualizing-data.asciidoc │ │ │ └── yaml.asciidoc │ │ ├── etc │ │ │ └── libbeat.yml │ │ ├── filter │ │ │ ├── config.go │ │ │ ├── filter.go │ │ │ └── filter_test.go │ │ ├── libbeat.go │ │ ├── libbeat_test.go │ │ ├── logp │ │ │ ├── file_rotator.go │ │ │ ├── file_rotator_test.go │ │ │ ├── log.go │ │ │ ├── logp.go │ │ │ ├── syslog_other.go │ │ │ └── syslog_unix.go │ │ ├── mock │ │ │ └── mockbeat.go │ │ ├── outputs │ │ │ ├── console │ │ │ │ ├── config.go │ │ │ │ ├── console.go │ │ │ │ └── console_test.go │ │ │ ├── elasticsearch │ │ │ │ ├── api.go │ │ │ │ ├── api_integration_test.go │ │ │ │ ├── api_mock_test.go │ │ │ │ ├── api_test.go │ │ │ │ ├── bulkapi.go │ │ │ │ ├── bulkapi_integration_test.go │ │ │ │ ├── bulkapi_mock_test.go │ │ │ │ ├── client.go │ │ │ │ ├── client_integration_test.go │ │ │ │ ├── client_test.go │ │ │ │ ├── config.go │ │ │ │ ├── json_read.go │ │ │ │ ├── output.go │ │ │ │ ├── output_test.go │ │ │ │ ├── topology.go │ │ │ │ ├── url.go │ │ │ │ └── url_test.go │ │ │ ├── fileout │ │ │ │ ├── config.go │ │ │ │ ├── file.go │ │ │ │ └── file_test.go │ │ │ ├── kafka │ │ │ │ ├── client.go │ │ │ │ ├── config.go │ │ │ │ ├── kafka.go │ │ │ │ ├── kafka_integration_test.go │ │ │ │ └── log.go │ │ │ ├── logstash │ │ │ │ ├── ca_invalid_test.key │ │ │ │ ├── ca_invalid_test.pem │ │ │ │ ├── ca_test.key │ │ │ │ ├── ca_test.pem │ │ │ │ ├── client_test.go │ │ │ │ ├── config.go │ │ │ │ ├── logstash.go │ │ │ │ ├── logstash_integration_test.go │ │ │ │ ├── logstash_test.go │ │ │ │ ├── protocol.go │ │ │ │ ├── protocol_test.go │ │ │ │ ├── sync.go │ │ │ │ ├── sync_test.go │ │ │ │ ├── window.go │ │ │ │ └── window_test.go │ │ │ ├── mode │ │ │ │ ├── backoff.go │ │ │ │ ├── balance.go │ │ │ │ ├── balance_async.go │ │ │ │ ├── balance_async_test.go │ │ │ │ ├── balance_test.go │ │ │ │ ├── failover_client.go │ │ │ │ ├── failover_test.go │ │ │ │ ├── mode.go │ │ │ │ ├── mode_test.go │ │ │ │ ├── single.go │ │ │ │ └── single_test.go │ │ │ ├── outputs.go │ │ │ ├── redis │ │ │ │ ├── client.go │ │ │ │ ├── config.go │ │ │ │ ├── redis.go │ │ │ │ ├── redis_integration_test.go │ │ │ │ └── topology.go │ │ │ ├── tls.go │ │ │ ├── tls_test.go │ │ │ └── transport │ │ │ │ ├── client.go │ │ │ │ ├── proxy.go │ │ │ │ ├── tcp.go │ │ │ │ ├── tls.go │ │ │ │ ├── transport.go │ │ │ │ ├── transptest │ │ │ │ ├── ca_test.key │ │ │ │ ├── ca_test.pem │ │ │ │ ├── testing.go │ │ │ │ └── testing_test.go │ │ │ │ └── util.go │ │ ├── paths │ │ │ ├── paths.go │ │ │ └── paths_test.go │ │ ├── publisher │ │ │ ├── async.go │ │ │ ├── async_test.go │ │ │ ├── bulk.go │ │ │ ├── bulk_test.go │ │ │ ├── client.go │ │ │ ├── client_test.go │ │ │ ├── common_test.go │ │ │ ├── opts.go │ │ │ ├── output.go │ │ │ ├── output_test.go │ │ │ ├── publish.go │ │ │ ├── publish_test.go │ │ │ ├── sync.go │ │ │ ├── sync_test.go │ │ │ ├── testing │ │ │ │ ├── testing.go │ │ │ │ └── testing_test.go │ │ │ ├── worker.go │ │ │ └── worker_test.go │ │ ├── scripts │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── docker-entrypoint.sh │ │ │ ├── generate_fields_docs.py │ │ │ ├── generate_template.py │ │ │ ├── install-go.ps1 │ │ │ └── update.sh │ │ ├── service │ │ │ ├── service.go │ │ │ ├── service_unix.go │ │ │ └── service_windows.go │ │ └── tests │ │ │ ├── files │ │ │ ├── config.yml │ │ │ ├── invalid.yml │ │ │ └── template.json │ │ │ └── system │ │ │ ├── .gitignore │ │ │ ├── base.py │ │ │ ├── beat │ │ │ ├── __init__.py │ │ │ └── beat.py │ │ │ ├── beatname.template.json │ │ │ ├── config │ │ │ └── mockbeat.yml.j2 │ │ │ ├── mockbeat.template.json │ │ │ ├── requirements.txt │ │ │ └── test_base.py │ │ ├── metricbeat │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── Dockerfile │ │ ├── Makefile │ │ ├── README.md │ │ ├── TODO.md │ │ ├── beater │ │ │ ├── config.go │ │ │ └── metricbeat.go │ │ ├── docker-compose.yml │ │ ├── docker-entrypoint.sh │ │ ├── docs │ │ │ ├── README.asciidoc │ │ │ ├── command-line.asciidoc │ │ │ ├── configuration.asciidoc │ │ │ ├── configuring-howto.asciidoc │ │ │ ├── configuring-logstash.asciidoc │ │ │ ├── developer-guide │ │ │ │ ├── create-metricset.asciidoc │ │ │ │ └── index.asciidoc │ │ │ ├── faq.asciidoc │ │ │ ├── fields.asciidoc │ │ │ ├── gettingstarted.asciidoc │ │ │ ├── images │ │ │ │ └── option_ignore_outgoing.png │ │ │ ├── index.asciidoc │ │ │ ├── metricbeat-filtering.asciidoc │ │ │ ├── modules.asciidoc │ │ │ ├── modules │ │ │ │ ├── apache.asciidoc │ │ │ │ ├── mysql.asciidoc │ │ │ │ └── redis.asciidoc │ │ │ ├── overview.asciidoc │ │ │ ├── reference.asciidoc │ │ │ ├── reference │ │ │ │ ├── configuration.asciidoc │ │ │ │ └── configuration │ │ │ │ │ └── metricbeat-options.asciidoc │ │ │ ├── securing-metricbeat.asciidoc │ │ │ └── troubleshooting.asciidoc │ │ ├── etc │ │ │ ├── beat.yml │ │ │ ├── fields.yml │ │ │ ├── fields_base.yml │ │ │ └── kibana │ │ │ │ ├── dashboard │ │ │ │ ├── metricbeat-mysql.json │ │ │ │ └── metricbeat-redis.json │ │ │ │ ├── index-pattern │ │ │ │ └── metricbeat.json │ │ │ │ └── visualization │ │ │ │ ├── connected_clients.json │ │ │ │ ├── connections-received.json │ │ │ │ └── metricbeat-mysql-open.json │ │ ├── helper │ │ │ ├── event.go │ │ │ ├── http.go │ │ │ ├── interfacer.go │ │ │ ├── metricset.go │ │ │ ├── metricset_test.go │ │ │ ├── module.go │ │ │ ├── module_test.go │ │ │ ├── register.go │ │ │ └── register_test.go │ │ ├── include │ │ │ └── list.go │ │ ├── main.go │ │ ├── main_test.go │ │ ├── metricbeat.template.json │ │ ├── metricbeat.yml │ │ ├── module │ │ │ ├── apache │ │ │ │ ├── apache.asciidoc │ │ │ │ ├── apache.go │ │ │ │ ├── status │ │ │ │ │ ├── data.go │ │ │ │ │ ├── fields.yml │ │ │ │ │ ├── status.go │ │ │ │ │ ├── status_integration_test.go │ │ │ │ │ └── status_test.go │ │ │ │ └── testing.go │ │ │ ├── doc.go │ │ │ ├── mysql │ │ │ │ ├── glide.yaml │ │ │ │ ├── mysql.asciidoc │ │ │ │ ├── mysql.go │ │ │ │ ├── mysql_integration_test.go │ │ │ │ ├── mysql_test.go │ │ │ │ ├── status │ │ │ │ │ ├── data.go │ │ │ │ │ ├── fields.yml │ │ │ │ │ ├── status.go │ │ │ │ │ └── status_test.go │ │ │ │ └── testing.go │ │ │ ├── redis │ │ │ │ ├── .kibana │ │ │ │ │ ├── dashboard │ │ │ │ │ │ └── metricbeat-redis.json │ │ │ │ │ ├── index-pattern │ │ │ │ │ │ └── metricbeat.json │ │ │ │ │ └── visualization │ │ │ │ │ │ ├── connected_clients.json │ │ │ │ │ │ └── connections-received.json │ │ │ │ ├── info │ │ │ │ │ ├── data.go │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── fields.yml │ │ │ │ │ ├── info.go │ │ │ │ │ └── info_test.go │ │ │ │ ├── redis.asciidoc │ │ │ │ ├── redis.go │ │ │ │ ├── redis_test.go │ │ │ │ └── testing.go │ │ │ └── system │ │ │ │ ├── cpu │ │ │ │ ├── cpu.go │ │ │ │ └── fields.yml │ │ │ │ ├── memory │ │ │ │ ├── fields.yml │ │ │ │ └── memory.go │ │ │ │ └── system.go │ │ └── tests │ │ │ ├── environments │ │ │ └── apache │ │ │ │ ├── Dockerfile │ │ │ │ └── httpd.conf │ │ │ └── system │ │ │ ├── config │ │ │ └── metricbeat.yml.j2 │ │ │ ├── metricbeat.py │ │ │ ├── test_apache.py │ │ │ ├── test_base.py │ │ │ ├── test_redis.py │ │ │ └── test_system.py │ │ ├── packetbeat │ │ ├── .gitignore │ │ ├── CONTRIBUTING.md │ │ ├── Dockerfile │ │ ├── Makefile │ │ ├── README.md │ │ ├── SUPPORT_PROTOCOL.md │ │ ├── beater │ │ │ └── packetbeat.go │ │ ├── config │ │ │ └── config.go │ │ ├── debian │ │ │ ├── changelog │ │ │ ├── compat │ │ │ ├── control │ │ │ ├── copyright │ │ │ ├── packetbeat.init │ │ │ └── rules │ │ ├── decoder │ │ │ ├── decoder.go │ │ │ ├── decoder_test.go │ │ │ └── util.go │ │ ├── docker-compose.yml │ │ ├── docs │ │ │ ├── capturing.asciidoc │ │ │ ├── command-line.asciidoc │ │ │ ├── configuring-howto.asciidoc │ │ │ ├── configuring-logstash.asciidoc │ │ │ ├── faq.asciidoc │ │ │ ├── fields.asciidoc │ │ │ ├── filtering.asciidoc │ │ │ ├── gettingstarted.asciidoc │ │ │ ├── images │ │ │ │ ├── discovery-packetbeat-flows.png │ │ │ │ ├── discovery-packetbeat-transactions.png │ │ │ │ ├── filter_from_context.png │ │ │ │ ├── kibana-created-indexes.png │ │ │ │ ├── kibana-discover.png │ │ │ │ ├── kibana-filters.png │ │ │ │ ├── kibana-index-pattern.png │ │ │ │ ├── kibana-navigation-vis.png │ │ │ │ ├── kibana-query-filtering.png │ │ │ │ ├── kibana_connection_failed.png │ │ │ │ ├── option_ignore_outgoing.png │ │ │ │ ├── packetbeat-statistics.png │ │ │ │ ├── saved-packetbeat-searches.png │ │ │ │ ├── thrift-dashboard.png │ │ │ │ └── topology_map.png │ │ │ ├── index.asciidoc │ │ │ ├── kibana3.asciidoc │ │ │ ├── maintaining-topology.asciidoc │ │ │ ├── new_protocol.asciidoc │ │ │ ├── overview.asciidoc │ │ │ ├── packetbeat-filtering.asciidoc │ │ │ ├── reference.asciidoc │ │ │ ├── reference │ │ │ │ ├── configuration.asciidoc │ │ │ │ └── configuration │ │ │ │ │ └── packetbeat-options.asciidoc │ │ │ ├── release-notes.asciidoc │ │ │ ├── securing-packetbeat.asciidoc │ │ │ ├── thrift.asciidoc │ │ │ ├── troubleshooting.asciidoc │ │ │ └── visualizing-data-packetbeat.asciidoc │ │ ├── etc │ │ │ ├── beat.yml │ │ │ ├── fields.yml │ │ │ ├── kibana │ │ │ │ ├── dashboard │ │ │ │ │ ├── Packetbeat-Dashboard.json │ │ │ │ │ ├── Packetbeat-HTTP.json │ │ │ │ │ ├── Packetbeat-MongoDB-performance.json │ │ │ │ │ ├── Packetbeat-MySQL-performance.json │ │ │ │ │ ├── Packetbeat-NFS.json │ │ │ │ │ ├── Packetbeat-PgSQL-performance.json │ │ │ │ │ └── Packetbeat-Thrift-performance.json │ │ │ │ ├── index-pattern │ │ │ │ │ └── packetbeat.json │ │ │ │ ├── search │ │ │ │ │ ├── Cache-transactions.json │ │ │ │ │ ├── DB-transactions.json │ │ │ │ │ ├── HTTP-errors.json │ │ │ │ │ ├── MongoDB-errors.json │ │ │ │ │ ├── MongoDB-transactions-with-write-concern-0.json │ │ │ │ │ ├── MongoDB-transactions.json │ │ │ │ │ ├── MySQL-Transactions.json │ │ │ │ │ ├── MySQL-errors.json │ │ │ │ │ ├── Packetbeat-Flows-Search.json │ │ │ │ │ ├── Packetbeat-Search.json │ │ │ │ │ ├── PgSQL-errors.json │ │ │ │ │ ├── PgSQL-transactions.json │ │ │ │ │ ├── RPC-transactions.json │ │ │ │ │ ├── Thrift-errors.json │ │ │ │ │ ├── Thrift-transactions.json │ │ │ │ │ ├── Transactions-errors.json │ │ │ │ │ ├── Web-transactions.json │ │ │ │ │ └── nfs.json │ │ │ │ └── visualization │ │ │ │ │ ├── Cache-transactions.json │ │ │ │ │ ├── Client-locations.json │ │ │ │ │ ├── DB-transactions.json │ │ │ │ │ ├── Errors-count-over-time.json │ │ │ │ │ ├── Errors-vs-successful-transactions.json │ │ │ │ │ ├── Evolution-of-the-CPU-times-per-process.json │ │ │ │ │ ├── HTTP-codes-for-the-top-queries.json │ │ │ │ │ ├── HTTP-error-codes-evolution.json │ │ │ │ │ ├── HTTP-error-codes.json │ │ │ │ │ ├── Latency-histogram.json │ │ │ │ │ ├── MongoDB-commands.json │ │ │ │ │ ├── MongoDB-errors-per-collection.json │ │ │ │ │ ├── MongoDB-errors.json │ │ │ │ │ ├── MongoDB-in-slash-out-throughput.json │ │ │ │ │ ├── MongoDB-response-times-and-count.json │ │ │ │ │ ├── MongoDB-response-times-by-collection.json │ │ │ │ │ ├── Most-frequent-MySQL-queries.json │ │ │ │ │ ├── Most-frequent-PgSQL-queries.json │ │ │ │ │ ├── MySQL-Errors.json │ │ │ │ │ ├── MySQL-Methods.json │ │ │ │ │ ├── MySQL-Reads-vs-Writes.json │ │ │ │ │ ├── MySQL-throughput.json │ │ │ │ │ ├── Mysql-response-times-percentiles.json │ │ │ │ │ ├── NFS-bytes-in-slash-out.json │ │ │ │ │ ├── NFS-clients-pie-chart.json │ │ │ │ │ ├── NFS-errors.json │ │ │ │ │ ├── NFS-operation-table.json │ │ │ │ │ ├── NFS-operations-area-chart.json │ │ │ │ │ ├── NFS-response-times.json │ │ │ │ │ ├── NFS-top-group-pie-chart.json │ │ │ │ │ ├── NFS-top-users-pie-chart.json │ │ │ │ │ ├── Navigation.json │ │ │ │ │ ├── Number-of-MongoDB-transactions-with-writeConcern-w-equal-0.json │ │ │ │ │ ├── PgSQL-Errors.json │ │ │ │ │ ├── PgSQL-Methods.json │ │ │ │ │ ├── PgSQL-Reads-vs-Writes.json │ │ │ │ │ ├── PgSQL-response-times-percentiles.json │ │ │ │ │ ├── PgSQL-throughput.json │ │ │ │ │ ├── RPC-transactions.json │ │ │ │ │ ├── Reads-versus-Writes.json │ │ │ │ │ ├── Response-times-percentiles.json │ │ │ │ │ ├── Response-times-repartition.json │ │ │ │ │ ├── Slowest-MySQL-queries.json │ │ │ │ │ ├── Slowest-PgSQL-queries.json │ │ │ │ │ ├── Slowest-Thrift-RPC-methods.json │ │ │ │ │ ├── Thrift-RPC-Errors.json │ │ │ │ │ ├── Thrift-requests-per-minute.json │ │ │ │ │ ├── Thrift-response-times-percentiles.json │ │ │ │ │ ├── Top-10-HTTP-requests.json │ │ │ │ │ ├── Top-Thrift-RPC-calls-with-errors.json │ │ │ │ │ ├── Top-Thrift-RPC-methods.json │ │ │ │ │ ├── Top-slowest-MongoDB-queries.json │ │ │ │ │ ├── Total-number-of-HTTP-transactions.json │ │ │ │ │ ├── Total-time-spent-in-each-MongoDB-collection.json │ │ │ │ │ └── Web-transactions.json │ │ │ └── sample_outputs │ │ │ │ ├── dns.json │ │ │ │ ├── http.json │ │ │ │ ├── nfs.json │ │ │ │ └── psql.json │ │ ├── flows │ │ │ ├── counters.go │ │ │ ├── flow.go │ │ │ ├── flowid.go │ │ │ ├── flowid_test.go │ │ │ ├── flows.go │ │ │ ├── flows_test.go │ │ │ ├── table.go │ │ │ ├── util.go │ │ │ └── worker.go │ │ ├── main.go │ │ ├── main_test.go │ │ ├── packetbeat.template.json │ │ ├── packetbeat.yml │ │ ├── procs │ │ │ ├── procs.go │ │ │ └── procs_test.go │ │ ├── protos │ │ │ ├── amqp │ │ │ │ ├── amqp.go │ │ │ │ ├── amqp_fields.go │ │ │ │ ├── amqp_methods.go │ │ │ │ ├── amqp_parser.go │ │ │ │ ├── amqp_structs.go │ │ │ │ ├── amqp_test.go │ │ │ │ └── config.go │ │ │ ├── applayer │ │ │ │ └── applayer.go │ │ │ ├── dns │ │ │ │ ├── README.md │ │ │ │ ├── config.go │ │ │ │ ├── dns.go │ │ │ │ ├── dns_tcp.go │ │ │ │ ├── dns_tcp_test.go │ │ │ │ ├── dns_test.go │ │ │ │ ├── dns_udp.go │ │ │ │ ├── dns_udp_test.go │ │ │ │ ├── errors.go │ │ │ │ ├── names.go │ │ │ │ └── names_test.go │ │ │ ├── http │ │ │ │ ├── config.go │ │ │ │ ├── http.go │ │ │ │ ├── http_parser.go │ │ │ │ └── http_test.go │ │ │ ├── icmp │ │ │ │ ├── README │ │ │ │ ├── config.go │ │ │ │ ├── icmp.go │ │ │ │ ├── icmp_test.go │ │ │ │ ├── message.go │ │ │ │ ├── message_test.go │ │ │ │ ├── transaction.go │ │ │ │ ├── transaction_test.go │ │ │ │ ├── tuple.go │ │ │ │ └── tuple_test.go │ │ │ ├── memcache │ │ │ │ ├── binary.go │ │ │ │ ├── binary_test.go │ │ │ │ ├── codes.go │ │ │ │ ├── commands.go │ │ │ │ ├── config.go │ │ │ │ ├── errors.go │ │ │ │ ├── memcache.go │ │ │ │ ├── memcache_test.go │ │ │ │ ├── parse.go │ │ │ │ ├── parse_test.go │ │ │ │ ├── plugin_tcp.go │ │ │ │ ├── plugin_udp.go │ │ │ │ ├── plugin_udp_test.go │ │ │ │ ├── text.go │ │ │ │ └── text_test.go │ │ │ ├── mongodb │ │ │ │ ├── README.md │ │ │ │ ├── config.go │ │ │ │ ├── mongodb.go │ │ │ │ ├── mongodb_parser.go │ │ │ │ ├── mongodb_parser_test.go │ │ │ │ ├── mongodb_structs.go │ │ │ │ └── mongodb_test.go │ │ │ ├── mysql │ │ │ │ ├── config.go │ │ │ │ ├── mysql.go │ │ │ │ └── mysql_test.go │ │ │ ├── nfs │ │ │ │ ├── README.md │ │ │ │ ├── config.go │ │ │ │ ├── nfs.go │ │ │ │ ├── nfs3.go │ │ │ │ ├── nfs4.go │ │ │ │ ├── nfs_status.go │ │ │ │ ├── rpc.go │ │ │ │ ├── rpc_message.go │ │ │ │ ├── xdr.go │ │ │ │ └── xdr_test.go │ │ │ ├── pgsql │ │ │ │ ├── config.go │ │ │ │ ├── parse.go │ │ │ │ ├── pgsql.go │ │ │ │ └── pgsql_test.go │ │ │ ├── protos.go │ │ │ ├── protos_test.go │ │ │ ├── redis │ │ │ │ ├── config.go │ │ │ │ ├── redis.go │ │ │ │ ├── redis_parse.go │ │ │ │ └── redis_test.go │ │ │ ├── registry.go │ │ │ ├── tcp │ │ │ │ ├── tcp.go │ │ │ │ └── tcp_test.go │ │ │ ├── thrift │ │ │ │ ├── config.go │ │ │ │ ├── thrift.go │ │ │ │ ├── thrift_idl.go │ │ │ │ ├── thrift_idl_test.go │ │ │ │ └── thrift_test.go │ │ │ └── udp │ │ │ │ ├── udp.go │ │ │ │ └── udp_test.go │ │ ├── publish │ │ │ ├── publish.go │ │ │ └── publish_test.go │ │ ├── sniffer │ │ │ ├── afpacket_linux.go │ │ │ ├── afpacket_nonlinux.go │ │ │ ├── pfring.go │ │ │ ├── pfring_stub.go │ │ │ ├── sniffer.go │ │ │ └── sniffer_test.go │ │ └── tests │ │ │ └── system │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── config │ │ │ └── packetbeat.yml.j2 │ │ │ ├── files │ │ │ ├── ThriftTest.thrift │ │ │ ├── geoip_city.dat │ │ │ ├── geoip_city_blocks.csv │ │ │ ├── geoip_city_loc.csv │ │ │ ├── shared.thrift │ │ │ └── tutorial.thrift │ │ │ ├── gen │ │ │ ├── README.md │ │ │ └── memcache │ │ │ │ ├── README.md │ │ │ │ ├── gen_all.sh │ │ │ │ ├── mc.py │ │ │ │ ├── requirements.txt │ │ │ │ ├── tcp_counter_ops.py │ │ │ │ ├── tcp_delete.py │ │ │ │ ├── tcp_multi_store_load.py │ │ │ │ ├── tcp_single_load_store.py │ │ │ │ ├── tcp_stats.py │ │ │ │ ├── udp_counter_ops.py │ │ │ │ ├── udp_delete.py │ │ │ │ ├── udp_multi_store.py │ │ │ │ └── udp_single_store.py │ │ │ ├── packetbeat.py │ │ │ ├── pcaps │ │ │ ├── amqp_channel_error.pcap │ │ │ ├── amqp_emit_receive.pcap │ │ │ ├── amqp_publish.pcap │ │ │ ├── dns_additional.pcap │ │ │ ├── dns_google_com.pcap │ │ │ ├── dns_mx.pcap │ │ │ ├── dns_not_found.pcap │ │ │ ├── dns_ns.pcap │ │ │ ├── dns_tcp_axfr.pcap │ │ │ ├── dns_txt.pcap │ │ │ ├── dns_udp_edns_ds.pcap │ │ │ ├── gap_in_stream.pcap │ │ │ ├── hide_secret_GET.pcap │ │ │ ├── hide_secret_POST.pcap │ │ │ ├── http_10_connection_close.pcap │ │ │ ├── http_basicauth.pcap │ │ │ ├── http_minitwit.pcap │ │ │ ├── http_over_vlan.pcap │ │ │ ├── http_post.pcap │ │ │ ├── http_realip.pcap │ │ │ ├── http_url_params.pcap │ │ │ ├── http_x_forwarded_for.pcap │ │ │ ├── icmp │ │ │ │ ├── icmp4_ping.pcap │ │ │ │ ├── icmp4_ping_over_vlan.pcap │ │ │ │ ├── icmp6_ping.pcap │ │ │ │ ├── icmp6_ping_over_vlan.pcap │ │ │ │ └── icmp_2_pings.pcap │ │ │ ├── ipv6_thrift.pcap │ │ │ ├── memcache │ │ │ │ ├── memcache_bin_tcp_counter_ops.pcap │ │ │ │ ├── memcache_bin_tcp_delete.pcap │ │ │ │ ├── memcache_bin_tcp_multi_store_load.pcap │ │ │ │ ├── memcache_bin_tcp_single_load_store.pcap │ │ │ │ ├── memcache_bin_tcp_stats.pcap │ │ │ │ ├── memcache_bin_udp_counter_ops.pcap │ │ │ │ ├── memcache_bin_udp_delete.pcap │ │ │ │ ├── memcache_bin_udp_multi_store.pcap │ │ │ │ ├── memcache_bin_udp_single_store.pcap │ │ │ │ ├── memcache_text_tcp_counter_ops.pcap │ │ │ │ ├── memcache_text_tcp_delete.pcap │ │ │ │ ├── memcache_text_tcp_multi_store_load.pcap │ │ │ │ ├── memcache_text_tcp_single_load_store.pcap │ │ │ │ ├── memcache_text_tcp_stats.pcap │ │ │ │ ├── memcache_text_udp_counter_ops.pcap │ │ │ │ ├── memcache_text_udp_delete.pcap │ │ │ │ ├── memcache_text_udp_multi_store.pcap │ │ │ │ └── memcache_text_udp_single_store.pcap │ │ │ ├── mongo_3.0_session.pcap │ │ │ ├── mongo_one_row.pcap │ │ │ ├── mongodb_create_collection.pcap │ │ │ ├── mongodb_find.pcap │ │ │ ├── mongodb_insert_duplicate_key.pcap │ │ │ ├── mongodb_inserts.pcap │ │ │ ├── mongodb_more_rows.pcap │ │ │ ├── mongodb_reply_request_reply.pcap │ │ │ ├── mongodb_use_db.pcap │ │ │ ├── mysql_affected_rows.pcap │ │ │ ├── mysql_err_database_not_selected.pcap │ │ │ ├── mysql_int_string_operations.pcap │ │ │ ├── mysql_long.pcap │ │ │ ├── mysql_long_result.pcap │ │ │ ├── mysql_with_gap.pcap │ │ │ ├── mysql_with_whitespaces.pcap │ │ │ ├── nfs_v3.pcap │ │ │ ├── nfs_v4.pcap │ │ │ ├── pgsql_extended_query.pcap │ │ │ ├── pgsql_insert.pcap │ │ │ ├── pgsql_insert_error.pcap │ │ │ ├── pgsql_long_result.pcap │ │ │ ├── pgsql_request_response.pcap │ │ │ ├── pgsql_rt.pcap │ │ │ ├── redis_one_transaction.pcap │ │ │ ├── redis_session.pcap │ │ │ ├── thrift_echo_binary.pcap │ │ │ ├── thrift_integration.pcap │ │ │ ├── thrift_tutorial.pcap │ │ │ ├── thrift_tutorial_framed_transport.pcap │ │ │ ├── wsgi_drum.pcap │ │ │ └── wsgi_loopback.pcap │ │ │ ├── test_0001_mysql_spaces.py │ │ │ ├── test_0002_thrift_basics.py │ │ │ ├── test_0003_http_simple.py │ │ │ ├── test_0004_ipv6.py │ │ │ ├── test_0005_mysql_integration.py │ │ │ ├── test_0006_wsgi.py │ │ │ ├── test_0007_tags.py │ │ │ ├── test_0008_realip.py │ │ │ ├── test_0009_pgsql.py │ │ │ ├── test_0009_pgsql_extended_query.py │ │ │ ├── test_0010_http_10_connection_close.py │ │ │ ├── test_0011_geoip.py │ │ │ ├── test_0012_http_basicauth.py │ │ │ ├── test_0013_redis_basic.py │ │ │ ├── test_0015_udpjson.py │ │ │ ├── test_0017_mysql_long_result.py │ │ │ ├── test_0018_pgsql_long_result.py │ │ │ ├── test_0019_hide_params.py │ │ │ ├── test_0020_mysql_send_options.py │ │ │ ├── test_0021_pgsql_send_opetions.py │ │ │ ├── test_0022_redis_send_options.py │ │ │ ├── test_0023_http_params.py │ │ │ ├── test_0024_http_query.py │ │ │ ├── test_0025_mongodb_basic.py │ │ │ ├── test_0025_procs_config.py │ │ │ ├── test_0026_test_config.py │ │ │ ├── test_0027_mysql_affected_rows.py │ │ │ ├── test_0028_mysql_error.py │ │ │ ├── test_0029_http_gap.py │ │ │ ├── test_0030_mysql_gap.py │ │ │ ├── test_0031_vlans.py │ │ │ ├── test_0032_dns.py │ │ │ ├── test_0040_memcache_tcp_bin_basic.py │ │ │ ├── test_0040_memcache_tcp_text_basic.py │ │ │ ├── test_0041_memcache_udp_bin_basic.py │ │ │ ├── test_0041_memcache_udp_text_basic.py │ │ │ ├── test_0050_icmp.py │ │ │ ├── test_0051_amqp_publish.py │ │ │ ├── test_0052_amqp_emit_receive.py │ │ │ ├── test_0053_amqp_channel_error.py │ │ │ ├── test_0060_filtering.py │ │ │ ├── test_0060_flows.py │ │ │ └── test_0061_nfs.py │ │ ├── testing │ │ └── environments │ │ │ ├── Dockerfile │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── base.yml │ │ │ ├── docker │ │ │ ├── elasticsearch │ │ │ │ ├── Dockerfile-2.2.0 │ │ │ │ ├── Dockerfile-2.2.0-shield │ │ │ │ ├── Dockerfile-2.3.0 │ │ │ │ ├── Dockerfile-2.3.2 │ │ │ │ ├── Dockerfile-5.0.0-alpha1 │ │ │ │ ├── config │ │ │ │ │ └── logging.yml │ │ │ │ ├── docker-entrypoint-shield.sh │ │ │ │ └── docker-entrypoint.sh │ │ │ ├── kibana │ │ │ │ ├── Dockerfile-4.5.0 │ │ │ │ ├── Dockerfile-5.0.0-alpha1 │ │ │ │ └── docker-entrypoint.sh │ │ │ ├── logstash │ │ │ │ ├── Dockerfile-1.5.5 │ │ │ │ ├── Dockerfile-2.2.0 │ │ │ │ ├── Dockerfile-2.3.0 │ │ │ │ ├── Dockerfile-2.3.2 │ │ │ │ ├── Dockerfile-5.0.0-alpha1 │ │ │ │ ├── docker-entrypoint.sh │ │ │ │ ├── gencerts.sh │ │ │ │ ├── logstash.conf.1.5.tmpl │ │ │ │ ├── logstash.conf.2.tmpl │ │ │ │ └── pki │ │ │ │ │ └── tls │ │ │ │ │ ├── certs │ │ │ │ │ └── logstash.crt │ │ │ │ │ └── private │ │ │ │ │ └── logstash.key │ │ │ ├── sredis │ │ │ │ ├── Dockerfile │ │ │ │ ├── gencerts.sh │ │ │ │ ├── pki │ │ │ │ │ └── tls │ │ │ │ │ │ ├── certs │ │ │ │ │ │ └── sredis.crt │ │ │ │ │ │ └── private │ │ │ │ │ │ └── sredis.key │ │ │ │ └── stunnel.conf │ │ │ └── test.env │ │ │ ├── es17-ls15-kb41.yml │ │ │ ├── latest.yml │ │ │ ├── snapshot-2x.yml │ │ │ └── snapshot.yml │ │ ├── topbeat │ │ ├── .gitignore │ │ ├── CONTRIBUTING.md │ │ ├── Makefile │ │ ├── README.md │ │ ├── beater │ │ │ ├── config.go │ │ │ ├── topbeat.go │ │ │ └── topbeat_test.go │ │ ├── docs │ │ │ ├── command-line.asciidoc │ │ │ ├── configuring-howto.asciidoc │ │ │ ├── configuring-logstash.asciidoc │ │ │ ├── faq.asciidoc │ │ │ ├── fields.asciidoc │ │ │ ├── gettingstarted.asciidoc │ │ │ ├── images │ │ │ │ ├── kibana-created-indexes.png │ │ │ │ ├── kibana-topbeat-discover.png │ │ │ │ ├── kibana-topbeat-index-pattern.png │ │ │ │ ├── option_ignore_outgoing.png │ │ │ │ ├── topbeat-dashboard-1shipper.png │ │ │ │ ├── topbeat-dashboard-example.png │ │ │ │ └── topbeat-dashboard.png │ │ │ ├── index.asciidoc │ │ │ ├── overview.asciidoc │ │ │ ├── reference.asciidoc │ │ │ ├── reference │ │ │ │ ├── configuration.asciidoc │ │ │ │ └── configuration │ │ │ │ │ └── topbeat-options.asciidoc │ │ │ ├── securing-topbeat.asciidoc │ │ │ ├── topbeat-filtering.asciidoc │ │ │ └── troubleshooting.asciidoc │ │ ├── etc │ │ │ ├── beat.yml │ │ │ ├── fields.yml │ │ │ └── kibana │ │ │ │ ├── dashboard │ │ │ │ └── Topbeat-Dashboard.json │ │ │ │ ├── index-pattern │ │ │ │ └── topbeat.json │ │ │ │ ├── search │ │ │ │ ├── Filesystem-stats.json │ │ │ │ ├── Process-stats.json │ │ │ │ └── System-stats.json │ │ │ │ └── visualization │ │ │ │ ├── CPU-usage-per-process.json │ │ │ │ ├── CPU-usage.json │ │ │ │ ├── Disk-usage-over-time.json │ │ │ │ ├── Disk-usage.json │ │ │ │ ├── Memory-usage-per-proc.json │ │ │ │ ├── Memory-usage.json │ │ │ │ ├── Process-status.json │ │ │ │ ├── Servers.json │ │ │ │ ├── System-load.json │ │ │ │ ├── Top-processes.json │ │ │ │ ├── Top10-cpu-per-proc.json │ │ │ │ └── Top10-memory.json │ │ ├── main.go │ │ ├── main_test.go │ │ ├── output.json │ │ ├── system │ │ │ ├── common.go │ │ │ ├── cpu.go │ │ │ ├── cpu_test.go │ │ │ ├── filesystem.go │ │ │ ├── fileysystem_test.go │ │ │ ├── process.go │ │ │ ├── process_test.go │ │ │ ├── system.go │ │ │ └── system_test.go │ │ ├── tests │ │ │ ├── README.md │ │ │ ├── burn.go │ │ │ └── system │ │ │ │ ├── config │ │ │ │ ├── topbeat-input-invalid.yml │ │ │ │ ├── topbeat-old.yml │ │ │ │ └── topbeat.yml.j2 │ │ │ │ ├── test_base.py │ │ │ │ ├── test_cpu_per_core.py │ │ │ │ ├── test_filesystem.py │ │ │ │ ├── test_filtering.py │ │ │ │ ├── test_procs.py │ │ │ │ ├── test_system.py │ │ │ │ └── topbeat.py │ │ ├── topbeat.template.json │ │ └── topbeat.yml │ │ └── winlogbeat │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── README.md │ │ ├── beater │ │ └── winlogbeat.go │ │ ├── checkpoint │ │ ├── checkpoint.go │ │ └── checkpoint_test.go │ │ ├── config │ │ ├── config.go │ │ └── config_test.go │ │ ├── docs │ │ ├── command-line.asciidoc │ │ ├── configuring-howto.asciidoc │ │ ├── faq.asciidoc │ │ ├── fields.asciidoc │ │ ├── getting-started.asciidoc │ │ ├── images │ │ │ ├── option_ignore_outgoing.png │ │ │ └── winlogbeat-dashboard.png │ │ ├── index.asciidoc │ │ ├── overview.asciidoc │ │ ├── reference.asciidoc │ │ ├── reference │ │ │ ├── configuration.asciidoc │ │ │ └── configuration │ │ │ │ └── winlogbeat-options.asciidoc │ │ ├── securing-winlogbeat.asciidoc │ │ ├── troubleshooting.asciidoc │ │ └── winlogbeat-filtering.asciidoc │ │ ├── etc │ │ ├── beat.yml │ │ ├── fields.yml │ │ └── kibana │ │ │ ├── dashboard │ │ │ └── Winlogbeat-Dashboard.json │ │ │ ├── index-pattern │ │ │ └── winlogbeat.json │ │ │ ├── search │ │ │ └── Winlogbeat-Search.json │ │ │ └── visualization │ │ │ ├── Errors-count-over-time.json │ │ │ ├── Event-Levels.json │ │ │ ├── Evolution-of-the-CPU-times-per-process.json │ │ │ ├── Number-of-Events-Over-Time-By-Event-Log.json │ │ │ ├── Number-of-Events.json │ │ │ ├── Sources.json │ │ │ └── Top-Event-IDs.json │ │ ├── eventlog │ │ ├── cache.go │ │ ├── doc.go │ │ ├── eventlog.go │ │ ├── eventlogging.go │ │ ├── eventlogging_test.go │ │ ├── factory.go │ │ ├── retry.go │ │ └── wineventlog.go │ │ ├── main.go │ │ ├── main_test.go │ │ ├── make.bat │ │ ├── sys │ │ ├── doc.go │ │ ├── errors.go │ │ ├── event.go │ │ ├── event_test.go │ │ ├── eventlogging │ │ │ ├── doc.go │ │ │ ├── eventlogging_windows.go │ │ │ ├── syscall_windows.go │ │ │ ├── syscall_windows_test.go │ │ │ └── zsyscall_windows.go │ │ ├── msgfile.go │ │ ├── sid.go │ │ ├── sid_test.go │ │ ├── sid_windows.go │ │ ├── strings.go │ │ └── wineventlog │ │ │ ├── doc.go │ │ │ ├── query.go │ │ │ ├── query_test.go │ │ │ ├── syscall_windows.go │ │ │ ├── wineventlog_windows.go │ │ │ └── zsyscall_windows.go │ │ ├── tests │ │ └── system │ │ │ ├── config │ │ │ └── winlogbeat.yml.j2 │ │ │ ├── test_config.py │ │ │ ├── test_eventlogging.py │ │ │ ├── test_wineventlog.py │ │ │ └── winlogbeat.py │ │ ├── winlogbeat.template.json │ │ └── winlogbeat.yml ├── garyburd │ └── redigo │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.markdown │ │ ├── internal │ │ ├── commandinfo.go │ │ ├── commandinfo_test.go │ │ └── redistest │ │ │ └── testdb.go │ │ ├── redis │ │ ├── conn.go │ │ ├── conn_test.go │ │ ├── doc.go │ │ ├── log.go │ │ ├── pool.go │ │ ├── pool_test.go │ │ ├── pubsub.go │ │ ├── pubsub_test.go │ │ ├── redis.go │ │ ├── reply.go │ │ ├── reply_test.go │ │ ├── scan.go │ │ ├── scan_test.go │ │ ├── script.go │ │ ├── script_test.go │ │ ├── test_test.go │ │ └── zpop_example_test.go │ │ └── redisx │ │ ├── connmux.go │ │ ├── connmux_test.go │ │ └── doc.go ├── golang │ └── snappy │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── LICENSE │ │ ├── README │ │ ├── decode.go │ │ ├── encode.go │ │ ├── snappy.go │ │ └── snappy_test.go ├── klauspost │ └── crc32 │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── crc32.go │ │ ├── crc32_amd64.go │ │ ├── crc32_amd64.s │ │ ├── crc32_amd64p32.go │ │ ├── crc32_amd64p32.s │ │ ├── crc32_generic.go │ │ ├── crc32_test.go │ │ └── example_test.go ├── nranchev │ └── go-libGeoIP │ │ ├── LICENSE.txt │ │ ├── README.textile │ │ ├── example │ │ └── example.go │ │ └── libgeo.go ├── satori │ └── go.uuid │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── benchmarks_test.go │ │ ├── uuid.go │ │ └── uuid_test.go ├── stretchr │ └── testify │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── Godeps │ │ ├── Godeps.json │ │ └── Readme │ │ ├── LICENCE.txt │ │ ├── LICENSE │ │ ├── README.md │ │ ├── _codegen │ │ └── main.go │ │ ├── assert │ │ ├── assertion_forward.go │ │ ├── assertion_forward.go.tmpl │ │ ├── assertions.go │ │ ├── assertions_test.go │ │ ├── doc.go │ │ ├── errors.go │ │ ├── forward_assertions.go │ │ ├── forward_assertions_test.go │ │ ├── http_assertions.go │ │ └── http_assertions_test.go │ │ ├── doc.go │ │ ├── http │ │ ├── doc.go │ │ ├── test_response_writer.go │ │ └── test_round_tripper.go │ │ ├── mock │ │ ├── doc.go │ │ ├── mock.go │ │ └── mock_test.go │ │ ├── package_test.go │ │ ├── require │ │ ├── doc.go │ │ ├── forward_requirements.go │ │ ├── forward_requirements_test.go │ │ ├── require.go │ │ ├── require.go.tmpl │ │ ├── require_forward.go │ │ ├── require_forward.go.tmpl │ │ ├── requirements.go │ │ └── requirements_test.go │ │ └── suite │ │ ├── doc.go │ │ ├── interfaces.go │ │ ├── suite.go │ │ └── suite_test.go └── urso │ └── ucfg │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── common_test.go │ ├── error.go │ ├── error_test.go │ ├── getset.go │ ├── getset_test.go │ ├── json │ ├── json.go │ └── json_test.go │ ├── merge.go │ ├── merge_test.go │ ├── opts.go │ ├── reify.go │ ├── reify_test.go │ ├── testdata │ └── error │ │ └── message │ │ ├── arr_missing_nested_w_meta.golden │ │ ├── arr_missing_nested_wo_meta.golden │ │ ├── arr_missing_w_meta.golden │ │ ├── arr_missing_wo_meta.golden │ │ ├── arr_oob_nested_w_meta.golden │ │ ├── arr_oob_nested_wo_meta.golden │ │ ├── arr_oob_w_meta.golden │ │ ├── arr_oob_wo_meta.golden │ │ ├── array_size_nested_w_meta.golden │ │ ├── array_size_nested_wo_meta.golden │ │ ├── array_size_w_meta.golden │ │ ├── array_size_wo_meta.golden │ │ ├── conversion_nested_w_meta.golden │ │ ├── conversion_nested_wo_meta.golden │ │ ├── conversion_w_meta.golden │ │ ├── conversion_wo_meta.golden │ │ ├── duplicate_nested_w_meta.golden │ │ ├── duplicate_nested_wo_meta.golden │ │ ├── duplicate_w_meta.golden │ │ ├── duplicate_wo_meta.golden │ │ ├── expected_object_nested_w_meta.golden │ │ ├── expected_object_nested_wo_meta.golden │ │ ├── expected_object_w_meta.golden │ │ ├── expected_object_wo_meta.golden │ │ ├── inline_nested_w_meta.golden │ │ ├── inline_nested_wo_meta.golden │ │ ├── inline_w_meta.golden │ │ ├── inline_wo_meta.golden │ │ ├── invalid_type_merge_nested_w_meta.golden │ │ ├── invalid_type_merge_nested_wo_meta.golden │ │ ├── invalid_type_merge_w_meta.golden │ │ ├── invalid_type_merge_wo_meta.golden │ │ ├── invalid_type_top_level.golden │ │ ├── invalid_type_unpack_nested_w_meta.golden │ │ ├── invalid_type_unpack_nested_wo_meta.golden │ │ ├── invalid_type_unpack_w_meta.golden │ │ ├── invalid_type_unpack_wo_meta.golden │ │ ├── missing_nested_w_meta.golden │ │ ├── missing_nested_wo_meta.golden │ │ ├── missing_w_meta.golden │ │ ├── missing_wo_meta.golden │ │ ├── nil_config_error.golden │ │ ├── nil_value_error.golden │ │ ├── pointer_required.golden │ │ ├── squash_nested_w_meta.golden │ │ ├── squash_nested_wo_meta.golden │ │ ├── squash_w_meta.golden │ │ ├── squash_wo_meta.golden │ │ ├── to_type_not_supported_nested_w_meta.golden │ │ ├── to_type_not_supported_nested_wo_meta.golden │ │ ├── to_type_not_supported_w_meta.golden │ │ ├── to_type_not_supported_wo_meta.golden │ │ ├── unsupported_input_type_nested_w_meta.golden │ │ ├── unsupported_input_type_nested_wo_meta.golden │ │ ├── unsupported_input_type_w_meta.golden │ │ └── unsupported_input_type_wo_meta.golden │ ├── types.go │ ├── ucfg.go │ ├── util.go │ └── yaml │ ├── yaml.go │ └── yaml_test.go ├── golang.org └── x │ ├── net │ ├── .gitattributes │ ├── .gitignore │ ├── AUTHORS │ ├── CONTRIBUTING.md │ ├── CONTRIBUTORS │ ├── LICENSE │ ├── PATENTS │ ├── README │ ├── codereview.cfg │ ├── context │ │ ├── context.go │ │ ├── context_test.go │ │ ├── ctxhttp │ │ │ ├── cancelreq.go │ │ │ ├── cancelreq_go14.go │ │ │ ├── ctxhttp.go │ │ │ └── ctxhttp_test.go │ │ └── withtimeout_test.go │ ├── dict │ │ └── dict.go │ ├── html │ │ ├── atom │ │ │ ├── atom.go │ │ │ ├── atom_test.go │ │ │ ├── gen.go │ │ │ ├── table.go │ │ │ └── table_test.go │ │ ├── charset │ │ │ ├── charset.go │ │ │ ├── charset_test.go │ │ │ └── testdata │ │ │ │ ├── HTTP-charset.html │ │ │ │ ├── HTTP-vs-UTF-8-BOM.html │ │ │ │ ├── HTTP-vs-meta-charset.html │ │ │ │ ├── HTTP-vs-meta-content.html │ │ │ │ ├── No-encoding-declaration.html │ │ │ │ ├── README │ │ │ │ ├── UTF-16BE-BOM.html │ │ │ │ ├── UTF-16LE-BOM.html │ │ │ │ ├── UTF-8-BOM-vs-meta-charset.html │ │ │ │ ├── UTF-8-BOM-vs-meta-content.html │ │ │ │ ├── meta-charset-attribute.html │ │ │ │ └── meta-content-attribute.html │ │ ├── const.go │ │ ├── doc.go │ │ ├── doctype.go │ │ ├── entity.go │ │ ├── entity_test.go │ │ ├── escape.go │ │ ├── escape_test.go │ │ ├── example_test.go │ │ ├── foreign.go │ │ ├── node.go │ │ ├── node_test.go │ │ ├── parse.go │ │ ├── parse_test.go │ │ ├── render.go │ │ ├── render_test.go │ │ ├── testdata │ │ │ ├── go1.html │ │ │ └── webkit │ │ │ │ ├── README │ │ │ │ ├── adoption01.dat │ │ │ │ ├── adoption02.dat │ │ │ │ ├── comments01.dat │ │ │ │ ├── doctype01.dat │ │ │ │ ├── entities01.dat │ │ │ │ ├── entities02.dat │ │ │ │ ├── html5test-com.dat │ │ │ │ ├── inbody01.dat │ │ │ │ ├── isindex.dat │ │ │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ │ │ ├── pending-spec-changes.dat │ │ │ │ ├── plain-text-unsafe.dat │ │ │ │ ├── scriptdata01.dat │ │ │ │ ├── scripted │ │ │ │ ├── adoption01.dat │ │ │ │ └── webkit01.dat │ │ │ │ ├── tables01.dat │ │ │ │ ├── tests1.dat │ │ │ │ ├── tests10.dat │ │ │ │ ├── tests11.dat │ │ │ │ ├── tests12.dat │ │ │ │ ├── tests14.dat │ │ │ │ ├── tests15.dat │ │ │ │ ├── tests16.dat │ │ │ │ ├── tests17.dat │ │ │ │ ├── tests18.dat │ │ │ │ ├── tests19.dat │ │ │ │ ├── tests2.dat │ │ │ │ ├── tests20.dat │ │ │ │ ├── tests21.dat │ │ │ │ ├── tests22.dat │ │ │ │ ├── tests23.dat │ │ │ │ ├── tests24.dat │ │ │ │ ├── tests25.dat │ │ │ │ ├── tests26.dat │ │ │ │ ├── tests3.dat │ │ │ │ ├── tests4.dat │ │ │ │ ├── tests5.dat │ │ │ │ ├── tests6.dat │ │ │ │ ├── tests7.dat │ │ │ │ ├── tests8.dat │ │ │ │ ├── tests9.dat │ │ │ │ ├── tests_innerHTML_1.dat │ │ │ │ ├── tricky01.dat │ │ │ │ ├── webkit01.dat │ │ │ │ └── webkit02.dat │ │ ├── token.go │ │ └── token_test.go │ ├── http2 │ │ ├── .gitignore │ │ ├── Dockerfile │ │ ├── Makefile │ │ ├── README │ │ ├── client_conn_pool.go │ │ ├── configure_transport.go │ │ ├── errors.go │ │ ├── errors_test.go │ │ ├── fixed_buffer.go │ │ ├── fixed_buffer_test.go │ │ ├── flow.go │ │ ├── flow_test.go │ │ ├── frame.go │ │ ├── frame_test.go │ │ ├── go15.go │ │ ├── gotrack.go │ │ ├── gotrack_test.go │ │ ├── h2demo │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── h2demo.go │ │ │ ├── launch.go │ │ │ ├── rootCA.key │ │ │ ├── rootCA.pem │ │ │ ├── rootCA.srl │ │ │ ├── server.crt │ │ │ └── server.key │ │ ├── h2i │ │ │ ├── README.md │ │ │ └── h2i.go │ │ ├── headermap.go │ │ ├── hpack │ │ │ ├── encode.go │ │ │ ├── encode_test.go │ │ │ ├── hpack.go │ │ │ ├── hpack_test.go │ │ │ ├── huffman.go │ │ │ └── tables.go │ │ ├── http2.go │ │ ├── http2_test.go │ │ ├── not_go15.go │ │ ├── not_go16.go │ │ ├── pipe.go │ │ ├── pipe_test.go │ │ ├── priority_test.go │ │ ├── server.go │ │ ├── server_test.go │ │ ├── testdata │ │ │ └── draft-ietf-httpbis-http2.xml │ │ ├── transport.go │ │ ├── transport_test.go │ │ ├── write.go │ │ ├── writesched.go │ │ └── z_spec_test.go │ ├── icmp │ │ ├── dstunreach.go │ │ ├── echo.go │ │ ├── endpoint.go │ │ ├── example_test.go │ │ ├── extension.go │ │ ├── extension_test.go │ │ ├── helper.go │ │ ├── helper_posix.go │ │ ├── interface.go │ │ ├── ipv4.go │ │ ├── ipv4_test.go │ │ ├── ipv6.go │ │ ├── listen_posix.go │ │ ├── listen_stub.go │ │ ├── message.go │ │ ├── message_test.go │ │ ├── messagebody.go │ │ ├── mpls.go │ │ ├── multipart.go │ │ ├── multipart_test.go │ │ ├── packettoobig.go │ │ ├── paramprob.go │ │ ├── ping_test.go │ │ ├── sys_freebsd.go │ │ └── timeexceeded.go │ ├── idna │ │ ├── idna.go │ │ ├── idna_test.go │ │ ├── punycode.go │ │ └── punycode_test.go │ ├── internal │ │ ├── iana │ │ │ ├── const.go │ │ │ └── gen.go │ │ ├── nettest │ │ │ ├── error_posix.go │ │ │ ├── error_stub.go │ │ │ ├── interface.go │ │ │ ├── rlimit.go │ │ │ ├── rlimit_stub.go │ │ │ ├── rlimit_unix.go │ │ │ ├── rlimit_windows.go │ │ │ ├── stack.go │ │ │ ├── stack_stub.go │ │ │ ├── stack_unix.go │ │ │ └── stack_windows.go │ │ └── timeseries │ │ │ ├── timeseries.go │ │ │ └── timeseries_test.go │ ├── ipv4 │ │ ├── control.go │ │ ├── control_bsd.go │ │ ├── control_pktinfo.go │ │ ├── control_stub.go │ │ ├── control_unix.go │ │ ├── control_windows.go │ │ ├── defs_darwin.go │ │ ├── defs_dragonfly.go │ │ ├── defs_freebsd.go │ │ ├── defs_linux.go │ │ ├── defs_netbsd.go │ │ ├── defs_openbsd.go │ │ ├── defs_solaris.go │ │ ├── dgramopt_posix.go │ │ ├── dgramopt_stub.go │ │ ├── doc.go │ │ ├── endpoint.go │ │ ├── example_test.go │ │ ├── gen.go │ │ ├── genericopt_posix.go │ │ ├── genericopt_stub.go │ │ ├── header.go │ │ ├── header_test.go │ │ ├── helper.go │ │ ├── helper_stub.go │ │ ├── helper_unix.go │ │ ├── helper_windows.go │ │ ├── iana.go │ │ ├── icmp.go │ │ ├── icmp_linux.go │ │ ├── icmp_stub.go │ │ ├── icmp_test.go │ │ ├── mocktransponder_test.go │ │ ├── multicast_test.go │ │ ├── multicastlistener_test.go │ │ ├── multicastsockopt_test.go │ │ ├── packet.go │ │ ├── payload.go │ │ ├── payload_cmsg.go │ │ ├── payload_nocmsg.go │ │ ├── readwrite_test.go │ │ ├── sockopt.go │ │ ├── sockopt_asmreq.go │ │ ├── sockopt_asmreq_stub.go │ │ ├── sockopt_asmreq_unix.go │ │ ├── sockopt_asmreq_windows.go │ │ ├── sockopt_asmreqn_stub.go │ │ ├── sockopt_asmreqn_unix.go │ │ ├── sockopt_ssmreq_stub.go │ │ ├── sockopt_ssmreq_unix.go │ │ ├── sockopt_stub.go │ │ ├── sockopt_unix.go │ │ ├── sockopt_windows.go │ │ ├── sys_bsd.go │ │ ├── sys_darwin.go │ │ ├── sys_freebsd.go │ │ ├── sys_linux.go │ │ ├── sys_openbsd.go │ │ ├── sys_stub.go │ │ ├── sys_windows.go │ │ ├── syscall_linux_386.go │ │ ├── syscall_unix.go │ │ ├── thunk_linux_386.s │ │ ├── unicast_test.go │ │ ├── unicastsockopt_test.go │ │ ├── zsys_darwin.go │ │ ├── zsys_dragonfly.go │ │ ├── zsys_freebsd_386.go │ │ ├── zsys_freebsd_amd64.go │ │ ├── zsys_freebsd_arm.go │ │ ├── zsys_linux_386.go │ │ ├── zsys_linux_amd64.go │ │ ├── zsys_linux_arm.go │ │ ├── zsys_linux_arm64.go │ │ ├── zsys_linux_mips64.go │ │ ├── zsys_linux_mips64le.go │ │ ├── zsys_linux_ppc64.go │ │ ├── zsys_linux_ppc64le.go │ │ ├── zsys_netbsd.go │ │ ├── zsys_openbsd.go │ │ └── zsys_solaris.go │ ├── ipv6 │ │ ├── control.go │ │ ├── control_rfc2292_unix.go │ │ ├── control_rfc3542_unix.go │ │ ├── control_stub.go │ │ ├── control_unix.go │ │ ├── control_windows.go │ │ ├── defs_darwin.go │ │ ├── defs_dragonfly.go │ │ ├── defs_freebsd.go │ │ ├── defs_linux.go │ │ ├── defs_netbsd.go │ │ ├── defs_openbsd.go │ │ ├── defs_solaris.go │ │ ├── dgramopt_posix.go │ │ ├── dgramopt_stub.go │ │ ├── doc.go │ │ ├── endpoint.go │ │ ├── example_test.go │ │ ├── gen.go │ │ ├── genericopt_posix.go │ │ ├── genericopt_stub.go │ │ ├── header.go │ │ ├── header_test.go │ │ ├── helper.go │ │ ├── helper_stub.go │ │ ├── helper_unix.go │ │ ├── helper_windows.go │ │ ├── iana.go │ │ ├── icmp.go │ │ ├── icmp_bsd.go │ │ ├── icmp_linux.go │ │ ├── icmp_solaris.go │ │ ├── icmp_stub.go │ │ ├── icmp_test.go │ │ ├── icmp_windows.go │ │ ├── mocktransponder_test.go │ │ ├── multicast_test.go │ │ ├── multicastlistener_test.go │ │ ├── multicastsockopt_test.go │ │ ├── payload.go │ │ ├── payload_cmsg.go │ │ ├── payload_nocmsg.go │ │ ├── readwrite_test.go │ │ ├── sockopt.go │ │ ├── sockopt_asmreq_unix.go │ │ ├── sockopt_asmreq_windows.go │ │ ├── sockopt_ssmreq_stub.go │ │ ├── sockopt_ssmreq_unix.go │ │ ├── sockopt_stub.go │ │ ├── sockopt_test.go │ │ ├── sockopt_unix.go │ │ ├── sockopt_windows.go │ │ ├── sys_bsd.go │ │ ├── sys_darwin.go │ │ ├── sys_freebsd.go │ │ ├── sys_linux.go │ │ ├── sys_stub.go │ │ ├── sys_windows.go │ │ ├── syscall_linux_386.go │ │ ├── syscall_unix.go │ │ ├── thunk_linux_386.s │ │ ├── unicast_test.go │ │ ├── unicastsockopt_test.go │ │ ├── zsys_darwin.go │ │ ├── zsys_dragonfly.go │ │ ├── zsys_freebsd_386.go │ │ ├── zsys_freebsd_amd64.go │ │ ├── zsys_freebsd_arm.go │ │ ├── zsys_linux_386.go │ │ ├── zsys_linux_amd64.go │ │ ├── zsys_linux_arm.go │ │ ├── zsys_linux_arm64.go │ │ ├── zsys_linux_mips64.go │ │ ├── zsys_linux_mips64le.go │ │ ├── zsys_linux_ppc64.go │ │ ├── zsys_linux_ppc64le.go │ │ ├── zsys_netbsd.go │ │ ├── zsys_openbsd.go │ │ └── zsys_solaris.go │ ├── netutil │ │ ├── listen.go │ │ └── listen_test.go │ ├── proxy │ │ ├── direct.go │ │ ├── per_host.go │ │ ├── per_host_test.go │ │ ├── proxy.go │ │ ├── proxy_test.go │ │ └── socks5.go │ ├── publicsuffix │ │ ├── gen.go │ │ ├── list.go │ │ ├── list_test.go │ │ ├── table.go │ │ └── table_test.go │ ├── trace │ │ ├── events.go │ │ ├── histogram.go │ │ ├── histogram_test.go │ │ ├── trace.go │ │ └── trace_test.go │ ├── webdav │ │ ├── file.go │ │ ├── file_test.go │ │ ├── if.go │ │ ├── if_test.go │ │ ├── internal │ │ │ └── xml │ │ │ │ ├── README │ │ │ │ ├── atom_test.go │ │ │ │ ├── example_test.go │ │ │ │ ├── marshal.go │ │ │ │ ├── marshal_test.go │ │ │ │ ├── read.go │ │ │ │ ├── read_test.go │ │ │ │ ├── typeinfo.go │ │ │ │ ├── xml.go │ │ │ │ └── xml_test.go │ │ ├── litmus_test_server.go │ │ ├── lock.go │ │ ├── lock_test.go │ │ ├── prop.go │ │ ├── prop_test.go │ │ ├── webdav.go │ │ ├── webdav_test.go │ │ ├── xml.go │ │ └── xml_test.go │ ├── websocket │ │ ├── client.go │ │ ├── exampledial_test.go │ │ ├── examplehandler_test.go │ │ ├── hybi.go │ │ ├── hybi_test.go │ │ ├── server.go │ │ ├── websocket.go │ │ └── websocket_test.go │ └── xsrftoken │ │ ├── xsrf.go │ │ └── xsrf_test.go │ └── sys │ ├── .gitattributes │ ├── .gitignore │ ├── AUTHORS │ ├── CONTRIBUTING.md │ ├── CONTRIBUTORS │ ├── LICENSE │ ├── PATENTS │ ├── README │ ├── codereview.cfg │ ├── plan9 │ ├── asm.s │ ├── asm_plan9_386.s │ ├── asm_plan9_amd64.s │ ├── const_plan9.go │ ├── dir_plan9.go │ ├── env_plan9.go │ ├── env_unset.go │ ├── errors_plan9.go │ ├── mkall.sh │ ├── mkerrors.sh │ ├── mksyscall.pl │ ├── mksysnum_plan9.sh │ ├── pwd_go15_plan9.go │ ├── pwd_plan9.go │ ├── race.go │ ├── race0.go │ ├── str.go │ ├── syscall.go │ ├── syscall_plan9.go │ ├── syscall_test.go │ ├── zsyscall_plan9_386.go │ ├── zsyscall_plan9_amd64.go │ └── zsysnum_plan9.go │ ├── unix │ ├── .gitignore │ ├── asm.s │ ├── asm_darwin_386.s │ ├── asm_darwin_amd64.s │ ├── asm_darwin_arm.s │ ├── asm_darwin_arm64.s │ ├── asm_dragonfly_386.s │ ├── asm_dragonfly_amd64.s │ ├── asm_freebsd_386.s │ ├── asm_freebsd_amd64.s │ ├── asm_freebsd_arm.s │ ├── asm_linux_386.s │ ├── asm_linux_amd64.s │ ├── asm_linux_arm.s │ ├── asm_linux_arm64.s │ ├── asm_linux_mips64x.s │ ├── asm_linux_ppc64x.s │ ├── asm_netbsd_386.s │ ├── asm_netbsd_amd64.s │ ├── asm_netbsd_arm.s │ ├── asm_openbsd_386.s │ ├── asm_openbsd_amd64.s │ ├── asm_solaris_amd64.s │ ├── bluetooth_linux.go │ ├── constants.go │ ├── creds_test.go │ ├── env_unix.go │ ├── env_unset.go │ ├── export_test.go │ ├── flock.go │ ├── flock_linux_32bit.go │ ├── gccgo.go │ ├── gccgo_c.c │ ├── gccgo_linux_amd64.go │ ├── mkall.sh │ ├── mkerrors.sh │ ├── mksyscall.pl │ ├── mksyscall_solaris.pl │ ├── mksysctl_openbsd.pl │ ├── mksysnum_darwin.pl │ ├── mksysnum_dragonfly.pl │ ├── mksysnum_freebsd.pl │ ├── mksysnum_linux.pl │ ├── mksysnum_netbsd.pl │ ├── mksysnum_openbsd.pl │ ├── mmap_unix_test.go │ ├── race.go │ ├── race0.go │ ├── sockcmsg_linux.go │ ├── sockcmsg_unix.go │ ├── str.go │ ├── syscall.go │ ├── syscall_bsd.go │ ├── syscall_bsd_test.go │ ├── syscall_darwin.go │ ├── syscall_darwin_386.go │ ├── syscall_darwin_amd64.go │ ├── syscall_darwin_arm.go │ ├── syscall_darwin_arm64.go │ ├── syscall_dragonfly.go │ ├── syscall_dragonfly_386.go │ ├── syscall_dragonfly_amd64.go │ ├── syscall_freebsd.go │ ├── syscall_freebsd_386.go │ ├── syscall_freebsd_amd64.go │ ├── syscall_freebsd_arm.go │ ├── syscall_freebsd_test.go │ ├── syscall_linux.go │ ├── syscall_linux_386.go │ ├── syscall_linux_amd64.go │ ├── syscall_linux_arm.go │ ├── syscall_linux_arm64.go │ ├── syscall_linux_mips64x.go │ ├── syscall_linux_ppc64x.go │ ├── syscall_linux_test.go │ ├── syscall_netbsd.go │ ├── syscall_netbsd_386.go │ ├── syscall_netbsd_amd64.go │ ├── syscall_netbsd_arm.go │ ├── syscall_no_getwd.go │ ├── syscall_openbsd.go │ ├── syscall_openbsd_386.go │ ├── syscall_openbsd_amd64.go │ ├── syscall_solaris.go │ ├── syscall_solaris_amd64.go │ ├── syscall_test.go │ ├── syscall_unix.go │ ├── syscall_unix_test.go │ ├── types_darwin.go │ ├── types_dragonfly.go │ ├── types_freebsd.go │ ├── types_linux.go │ ├── types_netbsd.go │ ├── types_openbsd.go │ ├── types_solaris.go │ ├── zerrors_darwin_386.go │ ├── zerrors_darwin_amd64.go │ ├── zerrors_darwin_arm.go │ ├── zerrors_darwin_arm64.go │ ├── zerrors_dragonfly_386.go │ ├── zerrors_dragonfly_amd64.go │ ├── zerrors_freebsd_386.go │ ├── zerrors_freebsd_amd64.go │ ├── zerrors_freebsd_arm.go │ ├── zerrors_linux_386.go │ ├── zerrors_linux_amd64.go │ ├── zerrors_linux_arm.go │ ├── zerrors_linux_arm64.go │ ├── zerrors_linux_mips64.go │ ├── zerrors_linux_mips64le.go │ ├── zerrors_linux_ppc64.go │ ├── zerrors_linux_ppc64le.go │ ├── zerrors_netbsd_386.go │ ├── zerrors_netbsd_amd64.go │ ├── zerrors_netbsd_arm.go │ ├── zerrors_openbsd_386.go │ ├── zerrors_openbsd_amd64.go │ ├── zerrors_solaris_amd64.go │ ├── zsyscall_darwin_386.go │ ├── zsyscall_darwin_amd64.go │ ├── zsyscall_darwin_arm.go │ ├── zsyscall_darwin_arm64.go │ ├── zsyscall_dragonfly_386.go │ ├── zsyscall_dragonfly_amd64.go │ ├── zsyscall_freebsd_386.go │ ├── zsyscall_freebsd_amd64.go │ ├── zsyscall_freebsd_arm.go │ ├── zsyscall_linux_386.go │ ├── zsyscall_linux_amd64.go │ ├── zsyscall_linux_arm.go │ ├── zsyscall_linux_arm64.go │ ├── zsyscall_linux_mips64.go │ ├── zsyscall_linux_mips64le.go │ ├── zsyscall_linux_ppc64.go │ ├── zsyscall_linux_ppc64le.go │ ├── zsyscall_netbsd_386.go │ ├── zsyscall_netbsd_amd64.go │ ├── zsyscall_netbsd_arm.go │ ├── zsyscall_openbsd_386.go │ ├── zsyscall_openbsd_amd64.go │ ├── zsyscall_solaris_amd64.go │ ├── zsysctl_openbsd.go │ ├── zsysnum_darwin_386.go │ ├── zsysnum_darwin_amd64.go │ ├── zsysnum_darwin_arm.go │ ├── zsysnum_darwin_arm64.go │ ├── zsysnum_dragonfly_386.go │ ├── zsysnum_dragonfly_amd64.go │ ├── zsysnum_freebsd_386.go │ ├── zsysnum_freebsd_amd64.go │ ├── zsysnum_freebsd_arm.go │ ├── zsysnum_linux_386.go │ ├── zsysnum_linux_amd64.go │ ├── zsysnum_linux_arm.go │ ├── zsysnum_linux_arm64.go │ ├── zsysnum_linux_mips64.go │ ├── zsysnum_linux_mips64le.go │ ├── zsysnum_linux_ppc64.go │ ├── zsysnum_linux_ppc64le.go │ ├── zsysnum_netbsd_386.go │ ├── zsysnum_netbsd_amd64.go │ ├── zsysnum_netbsd_arm.go │ ├── zsysnum_openbsd_386.go │ ├── zsysnum_openbsd_amd64.go │ ├── zsysnum_solaris_amd64.go │ ├── ztypes_darwin_386.go │ ├── ztypes_darwin_amd64.go │ ├── ztypes_darwin_arm.go │ ├── ztypes_darwin_arm64.go │ ├── ztypes_dragonfly_386.go │ ├── ztypes_dragonfly_amd64.go │ ├── ztypes_freebsd_386.go │ ├── ztypes_freebsd_amd64.go │ ├── ztypes_freebsd_arm.go │ ├── ztypes_linux_386.go │ ├── ztypes_linux_amd64.go │ ├── ztypes_linux_arm.go │ ├── ztypes_linux_arm64.go │ ├── ztypes_linux_mips64.go │ ├── ztypes_linux_mips64le.go │ ├── ztypes_linux_ppc64.go │ ├── ztypes_linux_ppc64le.go │ ├── ztypes_netbsd_386.go │ ├── ztypes_netbsd_amd64.go │ ├── ztypes_netbsd_arm.go │ ├── ztypes_openbsd_386.go │ ├── ztypes_openbsd_amd64.go │ └── ztypes_solaris_amd64.go │ └── windows │ ├── asm_windows_386.s │ ├── asm_windows_amd64.s │ ├── dll_windows.go │ ├── env_unset.go │ ├── env_windows.go │ ├── eventlog.go │ ├── exec_windows.go │ ├── race.go │ ├── race0.go │ ├── registry │ ├── export_test.go │ ├── key.go │ ├── registry_test.go │ ├── syscall.go │ ├── value.go │ └── zsyscall_windows.go │ ├── security_windows.go │ ├── service.go │ ├── str.go │ ├── svc │ ├── debug │ │ ├── log.go │ │ └── service.go │ ├── event.go │ ├── eventlog │ │ ├── install.go │ │ ├── log.go │ │ └── log_test.go │ ├── example │ │ ├── beep.go │ │ ├── install.go │ │ ├── main.go │ │ ├── manage.go │ │ └── service.go │ ├── go12.c │ ├── go12.go │ ├── go13.go │ ├── mgr │ │ ├── config.go │ │ ├── mgr.go │ │ ├── mgr_test.go │ │ └── service.go │ ├── security.go │ ├── service.go │ ├── svc_test.go │ ├── sys_386.s │ └── sys_amd64.s │ ├── syscall.go │ ├── syscall_test.go │ ├── syscall_windows.go │ ├── syscall_windows_test.go │ ├── zsyscall_windows.go │ ├── ztypes_windows.go │ ├── ztypes_windows_386.go │ └── ztypes_windows_amd64.go └── gopkg.in └── yaml.v2 ├── .travis.yml ├── LICENSE ├── LICENSE.libyaml ├── README.md ├── apic.go ├── decode.go ├── decode_test.go ├── emitterc.go ├── encode.go ├── encode_test.go ├── parserc.go ├── readerc.go ├── resolve.go ├── scannerc.go ├── sorter.go ├── suite_test.go ├── writerc.go ├── yaml.go ├── yamlh.go └── yamlprivateh.go /.editorconfig: -------------------------------------------------------------------------------- 1 | # See: http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | end_of_line = lf 7 | insert_final_newline = true 8 | trim_trailing_whitespace = true 9 | 10 | [*.json] 11 | indent_size = 4 12 | indent_style = space 13 | 14 | [*.py] 15 | indent_style = space 16 | indent_size = 4 17 | 18 | [*.yml] 19 | indent_style = space 20 | indent_size = 2 21 | 22 | [Makefile] 23 | indent_style = tab 24 | 25 | [Vagrantfile] 26 | indent_size = 2 27 | indent_style = space -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Keep these file types as CRLF (Windows). 2 | *.bat text eol=crlf 3 | *.cmd text eol=crlf -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | *.exe 11 | *.test 12 | *.prof 13 | 14 | # Golang 1.5+ vendor folder 15 | #vendor/ 16 | 17 | # build 18 | elasticbeat 19 | 20 | # IntelliJ IDEA 21 | .idea/ 22 | .project 23 | elasticbeat.iml 24 | 25 | # Gemfiles 26 | Gemfile.lock 27 | Gemfile 28 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.7.1 5 | 6 | sudo: false 7 | 8 | before_install: 9 | # Redo the travis setup but with the radoondas/elasticbeat path. This is needed so the package path is correct 10 | - mkdir -p $HOME/gopath/src/github.com/radoondas/elasticbeat 11 | - rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/radoondas/elasticbeat/ 12 | - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/radoondas/elasticbeat 13 | - cd $HOME/gopath/src/github.com/radoondas/elasticbeat 14 | 15 | install: 16 | - make 17 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | BEATNAME=elasticbeat 2 | BEAT_DIR=github.com/radoondas/elasticbeat 3 | ES_BEATS=./vendor/github.com/elastic/beats 4 | GOPACKAGES=$(shell glide novendor) 5 | SYSTEM_TESTS=false 6 | 7 | # Only crosscompile for linux because other OS'es use cgo. 8 | #GOX_OS=linux darwin windows solaris freebsd netbsd openbsd 9 | GOX_OS=linux 10 | 11 | include $(ES_BEATS)/libbeat/scripts/Makefile 12 | -------------------------------------------------------------------------------- /beater/cluster_test.go: -------------------------------------------------------------------------------- 1 | package beater 2 | -------------------------------------------------------------------------------- /beater/config.go: -------------------------------------------------------------------------------- 1 | package beater 2 | 3 | type EsConfig struct { 4 | Period *int64 5 | 6 | URLs []string 7 | 8 | Stats struct { 9 | Nodes *bool 10 | Cluster *bool 11 | Health *bool 12 | } 13 | 14 | // Authentication for BasicAuth 15 | Authentication struct { 16 | Username *string 17 | Password *string 18 | } 19 | } 20 | 21 | type ConfigSettings struct { 22 | Input EsConfig 23 | } 24 | -------------------------------------------------------------------------------- /beater/nodes_test.go: -------------------------------------------------------------------------------- 1 | package beater 2 | -------------------------------------------------------------------------------- /docs/images/elasticbeat_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/docs/images/elasticbeat_1.png -------------------------------------------------------------------------------- /docs/images/elasticbeat_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/docs/images/elasticbeat_2.png -------------------------------------------------------------------------------- /example/cluster_health.json: -------------------------------------------------------------------------------- 1 | //GET /_cluster/health 2 | 3 | { 4 | "cluster_name": "apachebeat", 5 | "status": "yellow", 6 | "timed_out": false, 7 | "number_of_nodes": 1, 8 | "number_of_data_nodes": 1, 9 | "active_primary_shards": 9, 10 | "active_shards": 9, 11 | "relocating_shards": 0, 12 | "initializing_shards": 0, 13 | "unassigned_shards": 9, 14 | "delayed_unassigned_shards": 0, 15 | "number_of_pending_tasks": 0, 16 | "number_of_in_flight_fetch": 0, 17 | "task_max_waiting_in_queue_millis": 0, 18 | "active_shards_percent_as_number": 50.0 19 | } -------------------------------------------------------------------------------- /example/node_id.txt: -------------------------------------------------------------------------------- 1 | // GET /_cat/nodes?full_id=true&h=id 2 | 3 | sw3eTsP9QmqVwe1PW49N6w 4 | 4Jf6Wo0CTUy5dwdgJqQPYA -------------------------------------------------------------------------------- /glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/radoondas/elasticbeat 2 | import: 3 | - package: github.com/elastic/beats 4 | subpackages: 5 | - libbeat/beat 6 | - libbeat/cfgfile 7 | - libbeat/common 8 | - libbeat/logp 9 | - libbeat/publisher 10 | - package: gopkg.in/yaml.v2 11 | vcs: git 12 | - package: github.com/stretchr/testify 13 | subpackages: 14 | - assert 15 | -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/radoondas/elasticbeat/beater" 5 | 6 | "github.com/elastic/beats/libbeat/beat" 7 | "os" 8 | ) 9 | 10 | var Name = "elasticbeat" 11 | 12 | func main() { 13 | if err := beat.Run(Name, "", beater.New()); err != nil { 14 | os.Exit(1) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // This file is mandatory as otherwise the elasticbeat.test binary is not generated correctly. 4 | 5 | import ( 6 | "flag" 7 | "testing" 8 | ) 9 | 10 | var systemTest *bool 11 | 12 | func init() { 13 | systemTest = flag.Bool("systemTest", false, "Set to true when running system tests") 14 | } 15 | 16 | // Test started when the test binary is started. Only calls main. 17 | func TestSystem(t *testing.T) { 18 | 19 | if *systemTest { 20 | main() 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | *.test 6 | 7 | # Folders 8 | _obj 9 | _test 10 | .vagrant 11 | 12 | # Architecture specific extensions/prefixes 13 | *.[568vq] 14 | [568vq].out 15 | 16 | *.cgo1.go 17 | *.cgo2.c 18 | _cgo_defun.c 19 | _cgo_gotypes.go 20 | _cgo_export.* 21 | 22 | _testmain.go 23 | 24 | *.exe 25 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/Vagrantfile: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! 5 | VAGRANTFILE_API_VERSION = "2" 6 | 7 | MEMORY = 3072 8 | 9 | Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| 10 | config.vm.box = "ubuntu/trusty64" 11 | 12 | config.vm.provision :shell, path: "vagrant/provision.sh" 13 | 14 | config.vm.network "private_network", ip: "192.168.100.67" 15 | 16 | config.vm.provider "virtualbox" do |v| 17 | v.memory = MEMORY 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/config_test.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "testing" 4 | 5 | func TestDefaultConfigValidates(t *testing.T) { 6 | config := NewConfig() 7 | if err := config.Validate(); err != nil { 8 | t.Error(err) 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/consumer_metadata_request.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | type ConsumerMetadataRequest struct { 4 | ConsumerGroup string 5 | } 6 | 7 | func (r *ConsumerMetadataRequest) encode(pe packetEncoder) error { 8 | return pe.putString(r.ConsumerGroup) 9 | } 10 | 11 | func (r *ConsumerMetadataRequest) decode(pd packetDecoder) (err error) { 12 | r.ConsumerGroup, err = pd.getString() 13 | return err 14 | } 15 | 16 | func (r *ConsumerMetadataRequest) key() int16 { 17 | return 10 18 | } 19 | 20 | func (r *ConsumerMetadataRequest) version() int16 { 21 | return 0 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/consumer_metadata_request_test.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "testing" 4 | 5 | var ( 6 | consumerMetadataRequestEmpty = []byte{ 7 | 0x00, 0x00} 8 | 9 | consumerMetadataRequestString = []byte{ 10 | 0x00, 0x06, 'f', 'o', 'o', 'b', 'a', 'r'} 11 | ) 12 | 13 | func TestConsumerMetadataRequest(t *testing.T) { 14 | request := new(ConsumerMetadataRequest) 15 | testRequest(t, "empty string", request, consumerMetadataRequestEmpty) 16 | 17 | request.ConsumerGroup = "foobar" 18 | testRequest(t, "with string", request, consumerMetadataRequestString) 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/examples/http_server/.gitignore: -------------------------------------------------------------------------------- 1 | http_server 2 | http_server.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/heartbeat_request_test.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "testing" 4 | 5 | var ( 6 | basicHeartbeatRequest = []byte{ 7 | 0, 3, 'f', 'o', 'o', // Group ID 8 | 0x00, 0x01, 0x02, 0x03, // Generatiuon ID 9 | 0, 3, 'b', 'a', 'z', // Member ID 10 | } 11 | ) 12 | 13 | func TestHeartbeatRequest(t *testing.T) { 14 | var request *HeartbeatRequest 15 | 16 | request = new(HeartbeatRequest) 17 | request.GroupId = "foo" 18 | request.GenerationId = 66051 19 | request.MemberId = "baz" 20 | testRequest(t, "basic", request, basicHeartbeatRequest) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/heartbeat_response.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | type HeartbeatResponse struct { 4 | Err KError 5 | } 6 | 7 | func (r *HeartbeatResponse) encode(pe packetEncoder) error { 8 | pe.putInt16(int16(r.Err)) 9 | return nil 10 | } 11 | 12 | func (r *HeartbeatResponse) decode(pd packetDecoder) error { 13 | if kerr, err := pd.getInt16(); err != nil { 14 | return err 15 | } else { 16 | r.Err = KError(kerr) 17 | } 18 | 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/heartbeat_response_test.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "testing" 4 | 5 | var ( 6 | heartbeatResponseNoError = []byte{ 7 | 0x00, 0x00} 8 | ) 9 | 10 | func TestHeartbeatResponse(t *testing.T) { 11 | var response *HeartbeatResponse 12 | 13 | response = new(HeartbeatResponse) 14 | testDecodable(t, "no error", response, heartbeatResponseNoError) 15 | if response.Err != ErrNoError { 16 | t.Error("Decoding error failed: no error expected but found", response.Err) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/leave_group_request_test.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "testing" 4 | 5 | var ( 6 | basicLeaveGroupRequest = []byte{ 7 | 0, 3, 'f', 'o', 'o', 8 | 0, 3, 'b', 'a', 'r', 9 | } 10 | ) 11 | 12 | func TestLeaveGroupRequest(t *testing.T) { 13 | var request *LeaveGroupRequest 14 | 15 | request = new(LeaveGroupRequest) 16 | request.GroupId = "foo" 17 | request.MemberId = "bar" 18 | testRequest(t, "basic", request, basicLeaveGroupRequest) 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/leave_group_response.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | type LeaveGroupResponse struct { 4 | Err KError 5 | } 6 | 7 | func (r *LeaveGroupResponse) encode(pe packetEncoder) error { 8 | pe.putInt16(int16(r.Err)) 9 | return nil 10 | } 11 | 12 | func (r *LeaveGroupResponse) decode(pd packetDecoder) (err error) { 13 | if kerr, err := pd.getInt16(); err != nil { 14 | return err 15 | } else { 16 | r.Err = KError(kerr) 17 | } 18 | 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/list_groups_request.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | type ListGroupsRequest struct { 4 | } 5 | 6 | func (r *ListGroupsRequest) encode(pe packetEncoder) error { 7 | return nil 8 | } 9 | 10 | func (r *ListGroupsRequest) decode(pd packetDecoder) (err error) { 11 | return nil 12 | } 13 | 14 | func (r *ListGroupsRequest) key() int16 { 15 | return 16 16 | } 17 | 18 | func (r *ListGroupsRequest) version() int16 { 19 | return 0 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/list_groups_request_test.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "testing" 4 | 5 | func TestListGroupsRequest(t *testing.T) { 6 | testRequest(t, "ListGroupsRequest", &ListGroupsRequest{}, []byte{}) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/response_header.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "fmt" 4 | 5 | type responseHeader struct { 6 | length int32 7 | correlationID int32 8 | } 9 | 10 | func (r *responseHeader) decode(pd packetDecoder) (err error) { 11 | r.length, err = pd.getInt32() 12 | if err != nil { 13 | return err 14 | } 15 | if r.length <= 4 || r.length > MaxResponseSize { 16 | return PacketDecodingError{fmt.Sprintf("message of length %d too large or too small", r.length)} 17 | } 18 | 19 | r.correlationID, err = pd.getInt32() 20 | return err 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/response_header_test.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "testing" 4 | 5 | var ( 6 | responseHeaderBytes = []byte{ 7 | 0x00, 0x00, 0x0f, 0x00, 8 | 0x0a, 0xbb, 0xcc, 0xff} 9 | ) 10 | 11 | func TestResponseHeader(t *testing.T) { 12 | header := responseHeader{} 13 | 14 | testDecodable(t, "response header", &header, responseHeaderBytes) 15 | if header.length != 0xf00 { 16 | t.Error("Decoding header length failed, got", header.length) 17 | } 18 | if header.correlationID != 0x0abbccff { 19 | t.Error("Decoding header correlation id failed, got", header.correlationID) 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/tools/kafka-console-consumer/.gitignore: -------------------------------------------------------------------------------- 1 | kafka-console-consumer 2 | kafka-console-consumer.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/tools/kafka-console-partitionconsumer/.gitignore: -------------------------------------------------------------------------------- 1 | kafka-console-partitionconsumer 2 | kafka-console-partitionconsumer.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/tools/kafka-console-producer/.gitignore: -------------------------------------------------------------------------------- 1 | kafka-console-producer 2 | kafka-console-producer.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/create_topics.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -ex 4 | 5 | cd ${KAFKA_INSTALL_ROOT}/kafka-9092 6 | bin/kafka-topics.sh --create --partitions 1 --replication-factor 3 --topic test.1 --zookeeper localhost:2181 7 | bin/kafka-topics.sh --create --partitions 4 --replication-factor 3 --topic test.4 --zookeeper localhost:2181 8 | bin/kafka-topics.sh --create --partitions 64 --replication-factor 3 --topic test.64 --zookeeper localhost:2181 9 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/kafka.conf: -------------------------------------------------------------------------------- 1 | start on started zookeeper-ZK_PORT 2 | stop on stopping zookeeper-ZK_PORT 3 | 4 | pre-start exec sleep 2 5 | exec /opt/kafka-KAFKAID/bin/kafka-server-start.sh /opt/kafka-KAFKAID/config/server.properties 6 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/provision.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -ex 4 | 5 | apt-get update 6 | yes | apt-get install default-jre 7 | 8 | export KAFKA_INSTALL_ROOT=/opt 9 | export KAFKA_HOSTNAME=192.168.100.67 10 | export KAFKA_VERSION=0.9.0.0 11 | export REPOSITORY_ROOT=/vagrant 12 | 13 | sh /vagrant/vagrant/install_cluster.sh 14 | sh /vagrant/vagrant/setup_services.sh 15 | sh /vagrant/vagrant/create_topics.sh 16 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/toxiproxy.conf: -------------------------------------------------------------------------------- 1 | start on started networking 2 | stop on shutdown 3 | 4 | env KAFKA_INSTALL_ROOT=/opt 5 | 6 | exec /opt/run_toxiproxy.sh 7 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/zookeeper.conf: -------------------------------------------------------------------------------- 1 | start on started toxiproxy 2 | stop on stopping toxiproxy 3 | 4 | exec /opt/kafka-KAFKAID/bin/zookeeper-server-start.sh /opt/kafka-KAFKAID/config/zookeeper.properties 5 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *.[568] 3 | *.a 4 | *~ 5 | [568].out 6 | _* 7 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/common_test.go: -------------------------------------------------------------------------------- 1 | package humanize 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | type testList []struct { 8 | name, got, exp string 9 | } 10 | 11 | func (tl testList) validate(t *testing.T) { 12 | for _, test := range tl { 13 | if test.got != test.exp { 14 | t.Errorf("On %v, expected '%v', but got '%v'", 15 | test.name, test.exp, test.got) 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/ftoa.go: -------------------------------------------------------------------------------- 1 | package humanize 2 | 3 | import "strconv" 4 | 5 | func stripTrailingZeros(s string) string { 6 | offset := len(s) - 1 7 | for offset > 0 { 8 | if s[offset] == '.' { 9 | offset-- 10 | break 11 | } 12 | if s[offset] != '0' { 13 | break 14 | } 15 | offset-- 16 | } 17 | return s[:offset+1] 18 | } 19 | 20 | // Ftoa converts a float to a string with no trailing zeros. 21 | func Ftoa(num float64) string { 22 | return stripTrailingZeros(strconv.FormatFloat(num, 'f', 6, 64)) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/humanize.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package humanize converts boring ugly numbers to human-friendly strings and back. 3 | 4 | Durations can be turned into strings such as "3 days ago", numbers 5 | representing sizes like 82854982 into useful strings like, "83MB" or 6 | "79MiB" (whichever you prefer). 7 | */ 8 | package humanize 9 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/ordinals.go: -------------------------------------------------------------------------------- 1 | package humanize 2 | 3 | import "strconv" 4 | 5 | // Ordinal gives you the input number in a rank/ordinal format. 6 | // 7 | // Ordinal(3) -> 3rd 8 | func Ordinal(x int) string { 9 | suffix := "th" 10 | switch x % 10 { 11 | case 1: 12 | if x%100 != 11 { 13 | suffix = "st" 14 | } 15 | case 2: 16 | if x%100 != 12 { 17 | suffix = "nd" 18 | } 19 | case 3: 20 | if x%100 != 13 { 21 | suffix = "rd" 22 | } 23 | } 24 | return strconv.Itoa(x) + suffix 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/ordinals_test.go: -------------------------------------------------------------------------------- 1 | package humanize 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestOrdinals(t *testing.T) { 8 | testList{ 9 | {"0", Ordinal(0), "0th"}, 10 | {"1", Ordinal(1), "1st"}, 11 | {"2", Ordinal(2), "2nd"}, 12 | {"3", Ordinal(3), "3rd"}, 13 | {"4", Ordinal(4), "4th"}, 14 | {"10", Ordinal(10), "10th"}, 15 | {"11", Ordinal(11), "11th"}, 16 | {"12", Ordinal(12), "12th"}, 17 | {"13", Ordinal(13), "13th"}, 18 | {"101", Ordinal(101), "101st"}, 19 | {"102", Ordinal(102), "102nd"}, 20 | {"103", Ordinal(103), "103rd"}, 21 | }.validate(t) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/go-resiliency/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/go-resiliency/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/queue/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/queue/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | go: 5 | - 1.2 6 | - 1.3 7 | - 1.4 8 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/.editorconfig: -------------------------------------------------------------------------------- 1 | # See: http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | end_of_line = lf 7 | insert_final_newline = true 8 | trim_trailing_whitespace = true 9 | 10 | [*.json] 11 | indent_size = 4 12 | indent_style = space 13 | 14 | [*.py] 15 | indent_style = space 16 | indent_size = 4 17 | 18 | [*.yml] 19 | indent_style = space 20 | indent_size = 2 21 | 22 | [Makefile] 23 | indent_style = tab 24 | 25 | [Vagrantfile] 26 | indent_size = 2 27 | indent_style = space 28 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/.gitattributes: -------------------------------------------------------------------------------- 1 | CHANGELOG.md merge=union 2 | CHANGELOG.asciidoc merge=union 3 | 4 | # Keep these file types as CRLF (Windows). 5 | *.bat text eol=crlf 6 | *.cmd text eol=crlf 7 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Please post all questions and issues on https://discuss.elastic.co/c/beats 2 | before opening a Github Issue. Your questions will reach a wider audience there, 3 | and if we confirm that there is a bug, then you can open a new issue. 4 | 5 | For confirmed bugs, please report: 6 | - Version: 7 | - Operating System: 8 | - Steps to Reproduce: 9 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/.gitignore: -------------------------------------------------------------------------------- 1 | # Directories 2 | /.vagrant 3 | /.idea 4 | /build 5 | 6 | # Files 7 | .DS_Store 8 | /glide.lock 9 | /beats.iml 10 | *.dev.yml 11 | 12 | # Editor swap files 13 | *.swp 14 | *.swo 15 | *.swn 16 | 17 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 18 | *.o 19 | *.a 20 | *.so 21 | *.exe 22 | *.test 23 | *.prof 24 | *.pyc 25 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/.beatconfig: -------------------------------------------------------------------------------- 1 | packetbeat-/packetbeat- 2 | filebeat-/filebeat- 3 | topbeat-/topbeat- 4 | winlogonbeat-/winlogonbeat- 5 | logstash-/logstash- -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | *.swo 3 | /build/ 4 | /env/ 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/archs/386.yml: -------------------------------------------------------------------------------- 1 | arch: '386' 2 | deb_arch: i386 3 | rpm_arch: i686 4 | bin_arch: i686 5 | win_arch: 32 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/archs/amd64.yml: -------------------------------------------------------------------------------- 1 | arch: amd64 2 | deb_arch: amd64 3 | rpm_arch: x86_64 4 | bin_arch: x86_64 5 | win_arch: 64 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/beats/filebeat.yml: -------------------------------------------------------------------------------- 1 | beat_name: filebeat 2 | beat_url: 'https://github.com/elastic/beats/filebeat' 3 | beat_repo: 'github.com/elastic/beats/filebeat' 4 | beat_description: Sends log files to Logstash or directly to Elasticsearch. 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/beats/metricbeat.yml: -------------------------------------------------------------------------------- 1 | beat_name: metricbeat 2 | beat_url: 'https://github.com/elastic/beats/metricbeat' 3 | beat_repo: 'github.com/elastic/beat/metricbeat' 4 | beat_description: Sends metrics to Elasticsearch. 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/beats/packetbeat.yml: -------------------------------------------------------------------------------- 1 | beat_name: packetbeat 2 | beat_url: 'https://github.com/elastic/beats/packetbeat' 3 | beat_repo: 'github.com/elastic/beats/packetbeat' 4 | beat_description: A network analyzer tool that sends data to Elasticsearch. 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/beats/topbeat.yml: -------------------------------------------------------------------------------- 1 | beat_name: topbeat 2 | beat_url: 'https://github.com/elastic/beats/topbeat' 3 | beat_repo: 'github.com/elastic/beats/topbeat' 4 | beat_description: Like the top command but outputing periodically Logstash, Elasticsearch or file 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/beats/winlogbeat.yml: -------------------------------------------------------------------------------- 1 | beat_name: winlogbeat 2 | beat_url: 'https://github.com/elastic/beats/winlogbeat' 3 | beat_repo: 'github.com/elastic/beats/winlogbeat' 4 | beat_description: Ships Windows event logs to Elasticsearch or Logstash 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/deb-rpm-s3/.gitignore: -------------------------------------------------------------------------------- 1 | elasticsearch.asc 2 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/deb-rpm-s3/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | # 5 | # Build script for the deb-rpm-s3 docker container. 6 | # 7 | 8 | cd "$(dirname "$0")" 9 | 10 | docker build -t deb-rpm-s3 . 11 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/deb-rpm-s3/deb-s3.expect: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | # Expect wrapper for deb-s3 that provides the GPG signing password 4 | # when prompted. 5 | 6 | spawn deb-s3 upload \ 7 | --sign \ 8 | --preserve_versions \ 9 | --bucket "$env(BUCKET)" \ 10 | --prefix "$env(PREFIX)/apt" \ 11 | --arch $env(arch) \ 12 | -o "$env(ORIGIN)" \ 13 | {*}$argv 14 | expect { 15 | "Enter passphrase: " { 16 | send -- "$env(PASS)\r" 17 | exp_continue 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/deb-rpm-s3/debsign.expect: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | # Expect wrapper for 'dpkg-sig --sign' that provides the GPG signing password 4 | # when prompted. 5 | # 6 | # Set password in PASS environment variable prior to running 7 | # this expect script. 8 | # 9 | # Example usage: 10 | # expect debsign.expect example.deb 11 | # 12 | # expect debsign.expect example.deb other.deb 13 | 14 | spawn dpkg-sig --sign builder {*}$argv 15 | expect { 16 | "Enter passphrase: " { 17 | send -- "$env(PASS)\r" 18 | exp_continue 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/deb-rpm-s3/rpm-s3.expect: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | # Expect wrapper for rpm-s3 that provides the GPG signing password 4 | # when prompted. 5 | 6 | spawn rpm-s3 \ 7 | -vv \ 8 | --sign \ 9 | --region=external-1 \ 10 | --keep=500 \ 11 | --visibility=public-read \ 12 | --bucket=$env(BUCKET) \ 13 | --repopath=$env(PREFIX)/yum/el/$env(arch) \ 14 | {*}$argv 15 | expect { 16 | "Enter passphrase: " { 17 | send -- "$env(PASS)\r" 18 | exp_continue 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/deb-rpm-s3/rpmmacros: -------------------------------------------------------------------------------- 1 | %_signature gpg 2 | %_gpg_name Elasticsearch (Elasticsearch Signing Key) 3 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/fpm-image/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | 3 | MAINTAINER Tudor Golubenco 4 | 5 | # install fpm 6 | RUN \ 7 | apt-get update && \ 8 | apt-get install -y --no-install-recommends \ 9 | build-essential ruby-dev rpm zip dos2unix libgmp3-dev && \ 10 | gem install fpm 11 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/go-daemon/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM tudorg/xgo-base 2 | 3 | MAINTAINER Tudor Golubenco 4 | 5 | # Inject the build script 6 | ADD build_go_daemon.sh /build_go_daemon.sh 7 | ENV BUILD_GO_DAEMON /build_go_daemon.sh 8 | RUN chmod +x $BUILD_GO_DAEMON 9 | 10 | ENTRYPOINT ["/build_go_daemon.sh"] 11 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/go-daemon/build_go_daemon.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | echo "Fetching go-daemon" 6 | git clone https://github.com/tsg/go-daemon.git 7 | 8 | cd /go-daemon 9 | 10 | echo "Compiling for linux/amd64.." 11 | cc god.c -m64 -o god-linux-amd64 -lpthread -static 12 | 13 | echo "Compiling for linux/i386.." 14 | gcc god.c -m32 -o god-linux-386 -lpthread -static 15 | 16 | echo "Copying to host.." 17 | cp god-linux-amd64 god-linux-386 /build/ 18 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image-deb6/base/fetch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Contains a simple fetcher to download a file from a remote URL and verify its 4 | # SHA1 checksum. 5 | # 6 | # Usage: fetch.sh 7 | set -e 8 | 9 | # Pull the file from the remote URL 10 | file=`basename $1` 11 | echo "Downloading $1..." 12 | wget --no-check-certificate -q $1 13 | 14 | # Generate a desired checksum report and check against it 15 | echo "$2 $file" > $file.sum 16 | sha1sum -c $file.sum 17 | rm $file.sum 18 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image-deb6/base/sources.list: -------------------------------------------------------------------------------- 1 | deb http://snapshot.debian.org/archive/debian/20160229T214851Z squeeze main 2 | deb http://snapshot.debian.org/archive/debian/20160229T214851Z squeeze-updates main 3 | deb http://snapshot.debian.org/archive/debian/20160229T214851Z squeeze-lts main 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image-deb6/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker build --rm=true -t tudorg/xgo-deb6-base base/ && \ 4 | docker build --rm=true -t tudorg/xgo-deb6-1.6 go-1.6/ && 5 | docker build --rm=true -t tudorg/beats-builder-deb6 beats-builder 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image-deb6/go-1.6/Dockerfile: -------------------------------------------------------------------------------- 1 | # Go cross compiler (xgo): Go 1.6 layer 2 | # Copyright (c) 2014 Péter Szilágyi. All rights reserved. 3 | # 4 | # Released under the MIT license. 5 | 6 | FROM tudorg/xgo-deb6-base 7 | 8 | MAINTAINER Tudor Golubenco 9 | 10 | # Configure the root Go distribution and bootstrap based on it 11 | RUN \ 12 | export ROOT_DIST="https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz" && \ 13 | export ROOT_DIST_SHA1="b8318b09de06076d5397e6ec18ebef3b45cd315d" && \ 14 | \ 15 | $BOOTSTRAP_PURE 16 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image/base/fetch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Contains a simple fetcher to download a file from a remote URL and verify its 4 | # SHA1 checksum. 5 | # 6 | # Usage: fetch.sh 7 | set -e 8 | 9 | # Pull the file from the remote URL 10 | file=`basename $1` 11 | echo "Downloading $1..." 12 | wget -q $1 13 | 14 | # Generate a desired checksum report and check against it 15 | echo "$2 $file" > $file.sum 16 | sha1sum -c $file.sum 17 | rm $file.sum 18 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image/beats-builder/wpcap.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image/beats-builder/wpcap.dll -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker build --rm=true -t tudorg/xgo-base base/ && \ 4 | docker build --rm=true -t tudorg/xgo-1.6 go-1.6/ && 5 | docker build --rm=true -t tudorg/beats-builder beats-builder 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image/go-1.6/Dockerfile: -------------------------------------------------------------------------------- 1 | # Go cross compiler (xgo): Go 1.6 layer 2 | # Copyright (c) 2014 Péter Szilágyi. All rights reserved. 3 | # 4 | # Released under the MIT license. 5 | 6 | FROM tudorg/xgo-base 7 | 8 | MAINTAINER Tudor Golubenco 9 | 10 | # Configure the root Go distribution and bootstrap based on it 11 | RUN \ 12 | export ROOT_DIST="https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz" && \ 13 | export ROOT_DIST_SHA1="b8318b09de06076d5397e6ec18ebef3b45cd315d" && \ 14 | \ 15 | $BOOTSTRAP_PURE 16 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/platforms/centos/beatname.sh.j2: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Script to run {.beat_name} in foreground with the same path settings that 4 | # the init script / systemd unit file would do. 5 | 6 | /usr/share/{{.beat_name}}/bin/{{.beat_name}} -e \ 7 | -c /etc/{{.beat_name}}/{{.beat_name}}.yml \ 8 | -path.home /usr/share/{{.beat_name}} \ 9 | -path.config /etc/{{.beat_name}} \ 10 | -path.data /var/lib/{{.beat_name}} \ 11 | $@ 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/platforms/centos/systemd.j2: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description={{.beat_name}} 3 | Documentation=https://www.elastic.co/guide/en/beats/{{.beat_name}}/current/index.html 4 | Wants=network-online.target 5 | After=network-online.target 6 | 7 | [Service] 8 | ExecStart=/usr/share/{{.beat_name}}/bin/{{.beat_name}} -c /etc/{{.beat_name}}/{{.beat_name}}.yml -path.home /usr/share/{{.beat_name}} -path.config /etc/{{.beat_name}} -path.data /var/lib/{{.beat_name}} -path.logs /var/log/{{.beat_name}} 9 | Restart=always 10 | 11 | [Install] 12 | WantedBy=multi-user.target 13 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/platforms/debian/beatname.sh.j2: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Script to run {.beat_name} in foreground with the same path settings that 4 | # the init script / systemd unit file would do. 5 | 6 | /usr/share/{{.beat_name}}/bin/{{.beat_name}} -e \ 7 | -c /etc/{{.beat_name}}/{{.beat_name}}.yml \ 8 | -path.home /usr/share/{{.beat_name}} \ 9 | -path.config /etc/{{.beat_name}} \ 10 | -path.data /var/lib/{{.beat_name}} \ 11 | $@ 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/platforms/debian/systemd.j2: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description={{.beat_name}} 3 | Documentation=https://www.elastic.co/guide/en/beats/{{.beat_name}}/current/index.html 4 | Wants=network-online.target 5 | After=network-online.target 6 | 7 | [Service] 8 | ExecStart=/usr/share/{{.beat_name}}/bin/{{.beat_name}} -c /etc/{{.beat_name}}/{{.beat_name}}.yml -path.home /usr/share/{{.beat_name}} -path.config /etc/{{.beat_name}} -path.data /var/lib/{{.beat_name}} -path.logs /var/log/{{.beat_name}} 9 | Restart=always 10 | 11 | [Install] 12 | WantedBy=multi-user.target 13 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/platforms/windows/uninstall-service.ps1.j2: -------------------------------------------------------------------------------- 1 | # delete service if it exists 2 | if (Get-Service {{.beat_name}} -ErrorAction SilentlyContinue) { 3 | $service = Get-WmiObject -Class Win32_Service -Filter "name='{{.beat_name}}'" 4 | $service.delete() 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/dev-tools/packer/version.yml: -------------------------------------------------------------------------------- 1 | version: "5.0.0" 2 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/.gitignore: -------------------------------------------------------------------------------- 1 | /etc/filebeat.dev.yml 2 | .idea 3 | .vagrant 4 | /data/ 5 | /docs/html_docs 6 | 7 | filebeat 8 | 9 | build 10 | /tests/load/logs 11 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/Makefile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BEATNAME=filebeat 4 | SYSTEM_TESTS=true 5 | TEST_ENVIRONMENT=false 6 | 7 | include ../libbeat/scripts/Makefile 8 | 9 | # This is called by the beats packer before building starts 10 | .PHONY: before-build 11 | before-build: 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/beater/filebeat_test.go: -------------------------------------------------------------------------------- 1 | // +build !integration 2 | 3 | package beater 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/crawler/crawler_test.go: -------------------------------------------------------------------------------- 1 | // +build !integration 2 | 3 | package crawler 4 | 5 | import ( 6 | "testing" 7 | 8 | "github.com/elastic/beats/filebeat/config" 9 | "github.com/elastic/beats/filebeat/input" 10 | "github.com/stretchr/testify/assert" 11 | ) 12 | 13 | func TestCrawlerStartError(t *testing.T) { 14 | crawler := Crawler{} 15 | channel := make(chan *input.FileEvent, 1) 16 | prospectorConfigs := []config.ProspectorConfig{} 17 | 18 | error := crawler.Start(prospectorConfigs, channel) 19 | 20 | assert.Error(t, error) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/docs/configuring-howto.asciidoc: -------------------------------------------------------------------------------- 1 | [[configuring-howto-filebeat]] 2 | == Configuring Filebeat 3 | 4 | After following the <> in the 5 | Getting Started, you might want to fine tune the behavior of Filebeat. This section 6 | describes some common use cases for changing configuration options. 7 | 8 | For a complete description of all Filebeat configuration options, see <>. 9 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/docs/images/filebeat-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/filebeat/docs/images/filebeat-overview.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/docs/images/filebeat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/filebeat/docs/images/filebeat.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/docs/images/option_ignore_outgoing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/filebeat/docs/images/option_ignore_outgoing.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/docs/reference.asciidoc: -------------------------------------------------------------------------------- 1 | [[reference]] 2 | = Reference 3 | 4 | [partintro] 5 | -- 6 | This section contains reference information about Filebeat. 7 | 8 | -- 9 | 10 | include::../../libbeat/docs/yaml.asciidoc[] 11 | include::reference/configuration.asciidoc[] 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/docs/securing-filebeat.asciidoc: -------------------------------------------------------------------------------- 1 | [[securing-filebeat]] 2 | == Securing Filebeat 3 | 4 | The following topics describe how to secure communication between Filebeat and other products in the Elastic stack: 5 | 6 | * <> 7 | * <> -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/docs/support.asciidoc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/docs/troubleshooting.asciidoc: -------------------------------------------------------------------------------- 1 | [[troubleshooting]] 2 | = Troubleshooting 3 | 4 | [partintro] 5 | -- 6 | If you have issues installing or running Filebeat, read the 7 | following tips. 8 | 9 | -- 10 | 11 | == Getting Help 12 | 13 | include::../../libbeat/docs/getting-help.asciidoc[] 14 | 15 | [[enable-filebeat-debugging]] 16 | == Debugging 17 | 18 | include::../../libbeat/docs/debugging.asciidoc[] 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/harvester/encoding/mixed.go: -------------------------------------------------------------------------------- 1 | package encoding 2 | 3 | import "golang.org/x/text/transform" 4 | 5 | type mixedEncoding struct { 6 | decoder func() transform.Transformer 7 | encoder func() transform.Transformer 8 | } 9 | 10 | func (m mixedEncoding) NewDecoder() transform.Transformer { 11 | return m.decoder() 12 | } 13 | 14 | func (m mixedEncoding) NewEncoder() transform.Transformer { 15 | return m.encoder() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/harvester/file.go: -------------------------------------------------------------------------------- 1 | package harvester 2 | 3 | // File harvester crawls full file and sends them to tika for "indexing". 4 | // This is a potential substitute for fsriver 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/harvester/harvester_test.go: -------------------------------------------------------------------------------- 1 | // +build !integration 2 | 3 | package harvester 4 | 5 | import ( 6 | "testing" 7 | 8 | "github.com/stretchr/testify/assert" 9 | ) 10 | 11 | // Most harvester tests need real files to tes that can be modified. These tests are implemented with 12 | // system tests 13 | 14 | func TestExampleTest(t *testing.T) { 15 | 16 | h := Harvester{ 17 | Path: "/var/log/", 18 | offset: 0, 19 | } 20 | 21 | assert.Equal(t, "/var/log/", h.Path) 22 | 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/harvester/stdin.go: -------------------------------------------------------------------------------- 1 | package harvester 2 | 3 | // Stdin reads all incoming traffic from stdin and sends it directly to the output 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/harvester/util_test.go: -------------------------------------------------------------------------------- 1 | // +build !integration 2 | 3 | package harvester 4 | 5 | import ( 6 | "testing" 7 | 8 | "github.com/stretchr/testify/assert" 9 | ) 10 | 11 | func TestMatchAnyRegexps(t *testing.T) { 12 | 13 | patterns := []string{"\\.gz$"} 14 | 15 | regexps, err := InitRegexps(patterns) 16 | 17 | assert.Nil(t, err) 18 | 19 | assert.Equal(t, MatchAnyRegexps(regexps, "/var/log/log.gz"), true) 20 | 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/input/state.go: -------------------------------------------------------------------------------- 1 | package input 2 | 3 | type FileState struct { 4 | Source string `json:"source,omitempty"` 5 | Offset int64 `json:"offset,omitempty"` 6 | FileStateOS *FileStateOS 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/invalid.json: -------------------------------------------------------------------------------- 1 | sdasda 2 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // This file is mandatory as otherwise the packetbeat.test binary is not generated correctly. 4 | 5 | import ( 6 | "flag" 7 | "testing" 8 | ) 9 | 10 | var systemTest *bool 11 | 12 | func init() { 13 | systemTest = flag.Bool("systemTest", false, "Set to true when running system tests") 14 | } 15 | 16 | // Test started when the test binary is started. Only calls main. 17 | func TestSystem(t *testing.T) { 18 | 19 | if *systemTest { 20 | main() 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/make.bat: -------------------------------------------------------------------------------- 1 | REM Batch script to build and test on Windows. You can use this in conjunction 2 | REM with the Vagrant machine. 3 | go build 4 | go test ./... 5 | go test -c -cover -covermode=count -coverpkg ./... 6 | cd tests\system 7 | nosetests 8 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/files/config2.yml: -------------------------------------------------------------------------------- 1 | filebeat: 2 | prospectors: 3 | - 4 | paths: 5 | - /var/log/*.log 6 | input: log 7 | 8 | spool_size: 9 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/files/logs/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore all temp files 2 | tmp* 3 | nasa-50k.log 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/files/logs/docker_multiline.log: -------------------------------------------------------------------------------- 1 | {"log":"[log] The following are log messages\n","stream":"stdout","time":"2016-03-02T22:58:51.338462311Z"} 2 | {"log":"[log] This one is\n","stream":"stdout","time":"2016-03-02T22:58:51.338462311Z"} 3 | {"log":" on multiple\n","stream":"stdout","time":"2016-03-02T22:58:51.338462311Z"} 4 | {"log":" lines","stream":"stdout","time":"2016-03-02T22:58:51.338462311Z"} 5 | {"log":"[log] In total there should be 3 events\n","stream":"stdout","time":"2016-03-02T22:58:51.338462311Z"} 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/files/logs/json.log: -------------------------------------------------------------------------------- 1 | {"host": "test", "timestamp": "2016-02-25 13:00:00", "module": "libbeat", "message": "hello json world"} 2 | {"host": "test", "timestamp": "2016-02-25 13:00:01", "module": "topbeat", "message": "hello topbeat"} 3 | {"host": "test", "timestamp": "2016-02-25 13:00:01", "module": "filebeat", "message": "hello filebeat"} 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/files/logs/json_override.log: -------------------------------------------------------------------------------- 1 | {"source": "hello", "message": "test source"} 2 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/files/logs/multiline-c-log.log: -------------------------------------------------------------------------------- 1 | The following are log messages 2 | This is a C style log\\ 3 | file which is on multiple\\ 4 | lines 5 | In addition it has normal lines 6 | The total should be 4 lines covered 7 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/files/logs/nasa-50k.log.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/filebeat/tests/files/logs/nasa-50k.log.gz -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/files/logs/system.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/filebeat/tests/files/logs/system.log -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/files/logs/test.log: -------------------------------------------------------------------------------- 1 | This 2 | Must 3 | Be 4 | At least 10 characters 5 | Long 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/load/Makefile: -------------------------------------------------------------------------------- 1 | run: 2 | python load.py 3 | 4 | clean: 5 | rm -r logs 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/filebeat/tests/system/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | libbeat 3 | 4 | # Folders 5 | _obj 6 | _test 7 | _output 8 | /docs/html_docs 9 | .vagrant 10 | build 11 | 12 | # Architecture specific extensions/prefixes 13 | *.[568vq] 14 | [568vq].out 15 | 16 | *.cgo1.go 17 | *.cgo2.c 18 | _cgo_defun.c 19 | _cgo_gotypes.go 20 | _cgo_export.* 21 | 22 | _testmain.go 23 | 24 | # IDE / OS specific files 25 | .idea 26 | .jenkins 27 | 28 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/Makefile: -------------------------------------------------------------------------------- 1 | 2 | BEATNAME=libbeat 3 | TEST_ENVIRONMENT=true 4 | SYSTEM_TESTS=true 5 | 6 | include scripts/Makefile 7 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/beat/version.go: -------------------------------------------------------------------------------- 1 | package beat 2 | 3 | const defaultBeatVersion = "5.0.0-SNAPSHOT" 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/common/droppriv/droppriv_windows.go: -------------------------------------------------------------------------------- 1 | package droppriv 2 | 3 | import "errors" 4 | 5 | type RunOptions struct { 6 | Uid *int 7 | Gid *int 8 | } 9 | 10 | func DropPrivileges(config RunOptions) error { 11 | 12 | if config.Uid == nil { 13 | // not found, no dropping privileges but no err 14 | return nil 15 | } 16 | 17 | return errors.New("Dropping privileges is not supported on Windows") 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/common/endpoint.go: -------------------------------------------------------------------------------- 1 | package common 2 | 3 | // Endpoint represents an endpoint in the communication. 4 | type Endpoint struct { 5 | Ip string 6 | Port uint16 7 | Name string 8 | Cmdline string 9 | Proc string 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/common/op/cancel.go: -------------------------------------------------------------------------------- 1 | package op 2 | 3 | import "sync" 4 | 5 | type Canceler struct { 6 | lock sync.RWMutex 7 | done chan struct{} 8 | active bool 9 | } 10 | 11 | func NewCanceler() *Canceler { 12 | return &Canceler{ 13 | done: make(chan struct{}), 14 | active: true, 15 | } 16 | } 17 | 18 | func (c *Canceler) Cancel() { 19 | c.lock.Lock() 20 | c.active = false 21 | c.lock.Unlock() 22 | 23 | close(c.done) 24 | } 25 | 26 | func (c *Canceler) Done() <-chan struct{} { 27 | return c.done 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/common/statuses.go: -------------------------------------------------------------------------------- 1 | package common 2 | 3 | // standardized status values 4 | const ( 5 | OK_STATUS = "OK" 6 | ERROR_STATUS = "Error" 7 | SERVER_ERROR_STATUS = "Server Error" 8 | CLIENT_ERROR_STATUS = "Client Error" 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/common/string.go: -------------------------------------------------------------------------------- 1 | package common 2 | 3 | // NetString store the byte length of the data that follows, making it easier 4 | // to unambiguously pass text and byte data between programs that could be 5 | // sensitive to values that could be interpreted as delimiters or terminators 6 | // (such as a null character). 7 | type NetString []byte 8 | 9 | // MarshalText exists to implement encoding.TextMarshaller interface to 10 | // treat []byte as raw string by other encoders/serializers (e.g. JSON) 11 | func (n NetString) MarshalText() ([]byte, error) { 12 | return n, nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/docs/images/beat_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/libbeat/docs/images/beat_overview.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/docs/images/beats-logstash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/libbeat/docs/images/beats-logstash.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/docs/images/beats-platform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/libbeat/docs/images/beats-platform.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/docs/images/kibana-created-indexes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/libbeat/docs/images/kibana-created-indexes.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/docs/images/kibana-navigation-vis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/libbeat/docs/images/kibana-navigation-vis.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/docs/images/option_ignore_outgoing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/libbeat/docs/images/option_ignore_outgoing.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/docs/visualizing-data.asciidoc: -------------------------------------------------------------------------------- 1 | [[visualizing-data]] 2 | == Visualizing Your Data in Kibana 3 | 4 | This section describes how to load the sample Beats dashboards. After loading 5 | the dashboards in Kibana, you can modify them to meet your needs. 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/filter/config.go: -------------------------------------------------------------------------------- 1 | package filter 2 | 3 | type DropFieldsConfig struct { 4 | Fields []string `config:"fields"` 5 | } 6 | 7 | type IncludeFieldsConfig struct { 8 | Fields []string `config:"fields"` 9 | } 10 | 11 | type FilterConfig struct { 12 | DropFields *DropFieldsConfig `config:"drop_fields"` 13 | IncludeFields *IncludeFieldsConfig `config:"include_fields"` 14 | } 15 | 16 | // fields that should be always exported 17 | var MandatoryExportedFields = []string{"@timestamp", "type"} 18 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/libbeat.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "os" 5 | 6 | "github.com/elastic/beats/libbeat/beat" 7 | "github.com/elastic/beats/libbeat/mock" 8 | ) 9 | 10 | func main() { 11 | if err := beat.Run(mock.Name, mock.Version, mock.New()); err != nil { 12 | os.Exit(1) 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/libbeat_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | "testing" 6 | ) 7 | 8 | var systemTest *bool 9 | 10 | func init() { 11 | systemTest = flag.Bool("systemTest", false, "Set to true when running system tests") 12 | } 13 | 14 | // Test started when the test binary is started 15 | func TestSystem(t *testing.T) { 16 | if *systemTest { 17 | main() 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/logp/syslog_other.go: -------------------------------------------------------------------------------- 1 | // +build windows nacl plan9 2 | 3 | package logp 4 | 5 | import "log" 6 | 7 | func openSyslog(level Priority, prefix string) *log.Logger { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/logp/syslog_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!nacl,!plan9 2 | 3 | package logp 4 | 5 | import ( 6 | "fmt" 7 | "log" 8 | "log/syslog" 9 | ) 10 | 11 | func openSyslog(level Priority, prefix string) *log.Logger { 12 | logger, err := syslog.NewLogger(syslog.Priority(level), log.Lshortfile) 13 | if err != nil { 14 | fmt.Println("Error opening syslog: ", err) 15 | return nil 16 | } 17 | logger.SetPrefix(prefix) 18 | 19 | return logger 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/outputs/console/config.go: -------------------------------------------------------------------------------- 1 | package console 2 | 3 | type config struct { 4 | Pretty bool `config:"pretty"` 5 | } 6 | 7 | var ( 8 | defaultConfig = config{ 9 | Pretty: false, 10 | } 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/outputs/fileout/config.go: -------------------------------------------------------------------------------- 1 | package fileout 2 | 3 | type config struct { 4 | Index string `config:"index"` 5 | Path string `config:"path"` 6 | Filename string `config:"filename"` 7 | RotateEveryKb int `config:"rotate_every_kb"` 8 | NumberOfFiles int `config:"number_of_files"` 9 | } 10 | 11 | var ( 12 | defaultConfig = config{ 13 | NumberOfFiles: 7, 14 | RotateEveryKb: 10 * 1024, 15 | } 16 | ) 17 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/outputs/fileout/file_test.go: -------------------------------------------------------------------------------- 1 | // +build !integration 2 | 3 | package fileout 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/outputs/kafka/log.go: -------------------------------------------------------------------------------- 1 | package kafka 2 | 3 | import "github.com/elastic/beats/libbeat/logp" 4 | 5 | type kafkaLogger struct{} 6 | 7 | func (kafkaLogger) Print(v ...interface{}) { 8 | logp.Warn("kafka message: %v", v) 9 | } 10 | 11 | func (kafkaLogger) Printf(format string, v ...interface{}) { 12 | logp.Warn(format, v) 13 | } 14 | 15 | func (kafkaLogger) Println(v ...interface{}) { 16 | logp.Warn("kafka message: %v", v) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/scripts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/libbeat/scripts/__init__.py -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/service/service_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package service 4 | 5 | // ProcessWindowsControlEvents is not used on non-windows platforms. 6 | func ProcessWindowsControlEvents(stopCallback func()) { 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/tests/files/config.yml: -------------------------------------------------------------------------------- 1 | output: 2 | elasticsearch: 3 | enabled: true 4 | port: 9200 5 | host: localhost 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/tests/files/invalid.yml: -------------------------------------------------------------------------------- 1 | test: 2 | test were 3 | : invalid yml 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/tests/system/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/tests/system/base.py: -------------------------------------------------------------------------------- 1 | from beat.beat import TestCase 2 | 3 | 4 | class BaseTest(TestCase): 5 | 6 | @classmethod 7 | def setUpClass(self): 8 | self.beat_name = "mockbeat" 9 | self.build_path = "../../build/system-tests/" 10 | self.beat_path = "../../libbeat.test" 11 | 12 | def test_version(self): 13 | """ 14 | Tests -version prints a version and exits. 15 | """ 16 | self.start_beat(extra_args=["-version"]).check_wait() 17 | assert self.log_contains("beat version") is True 18 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/tests/system/beat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/libbeat/tests/system/beat/__init__.py -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/tests/system/beatname.template.json: -------------------------------------------------------------------------------- 1 | {"template": true} -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/tests/system/mockbeat.template.json: -------------------------------------------------------------------------------- 1 | {"template": true} -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/libbeat/tests/system/requirements.txt: -------------------------------------------------------------------------------- 1 | pip 2 | nose 3 | jinja2 4 | PyYAML 5 | nose-timer 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | 3 | /metricbeat 4 | /metricbeat.test 5 | /docs/html_docs 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | This is only a temporary changelog to keep track of changes until the first release for contributors. 2 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/beater/config.go: -------------------------------------------------------------------------------- 1 | package beater 2 | 3 | import "github.com/elastic/beats/libbeat/common" 4 | 5 | type Config struct { 6 | Metricbeat MetricbeatConfig 7 | } 8 | 9 | type MetricbeatConfig struct { 10 | Modules []*common.Config 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/docs/configuring-howto.asciidoc: -------------------------------------------------------------------------------- 1 | [[configuring-howto-metricbeat]] 2 | == Configuring {beatname_uc} 3 | 4 | After following the <> in the 5 | Getting Started, you might want to fine tune the behavior of {beatname_uc}. 6 | This section describes some common use cases for changing configuration options. 7 | 8 | For a complete description of all {beatname_uc} configuration options, see 9 | <>. 10 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/docs/configuring-logstash.asciidoc: -------------------------------------------------------------------------------- 1 | [[config-metricbeat-logstash]] 2 | === Configuring Metricbeat to Use Logstash 3 | 4 | include::../../libbeat/docs/shared-logstash-config.asciidoc[] 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/docs/faq.asciidoc: -------------------------------------------------------------------------------- 1 | [[faq]] 2 | == Frequently Asked Questions 3 | 4 | This section contains frequently asked questions about Metricbeat. Also check out the 5 | https://discuss.elastic.co/c/beats/metricbeat[Metricbeat discussion forum]. 6 | 7 | include::../../libbeat/docs/shared-faq.asciidoc[] 8 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/docs/images/option_ignore_outgoing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/metricbeat/docs/images/option_ignore_outgoing.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/docs/modules.asciidoc: -------------------------------------------------------------------------------- 1 | [[metricbeat-modules]] 2 | = Modules 3 | 4 | [partintro] 5 | -- 6 | This section contains detailed information about the metric collecting modules 7 | contained in {beatname_uc}. 8 | 9 | -- 10 | 11 | include::modules/apache.asciidoc[] 12 | include::modules/mysql.asciidoc[] 13 | include::modules/redis.asciidoc[] 14 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/docs/reference.asciidoc: -------------------------------------------------------------------------------- 1 | [[reference]] 2 | = Reference 3 | 4 | [partintro] 5 | -- 6 | This section contains reference information about {beatname_uc}. 7 | 8 | -- 9 | 10 | include::../../libbeat/docs/yaml.asciidoc[] 11 | 12 | include::reference/configuration.asciidoc[] 13 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/docs/securing-metricbeat.asciidoc: -------------------------------------------------------------------------------- 1 | [[securing-meticbeat]] 2 | == Securing {beatname_uc} 3 | 4 | The following topics describe how to secure communication between 5 | {beatname_uc} and other products in the Elastic stack: 6 | 7 | * <> 8 | * <> 9 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/docs/troubleshooting.asciidoc: -------------------------------------------------------------------------------- 1 | [[troubleshooting]] 2 | = Troubleshooting 3 | 4 | [partintro] 5 | -- 6 | If you have issues installing or running {beatname_uc}, read the following tips. 7 | 8 | -- 9 | 10 | [[getting-support]] 11 | == Getting Help 12 | 13 | include::../../libbeat/docs/getting-help.asciidoc[] 14 | 15 | [[enable-metricbeat-debugging]] 16 | == Debugging 17 | 18 | include::../../libbeat/docs/debugging.asciidoc[] 19 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/etc/kibana/dashboard/metricbeat-mysql.json: -------------------------------------------------------------------------------- 1 | { 2 | "hits": 0, 3 | "timeRestore": false, 4 | "description": "", 5 | "title": "metricbeat-mysql", 6 | "uiStateJSON": "{}", 7 | "panelsJSON": "[{\"id\":\"metricbeat-mysql-open\",\"type\":\"visualization\",\"panelIndex\":1,\"size_x\":12,\"size_y\":3,\"col\":1,\"row\":1}]", 8 | "optionsJSON": "{\"darkTheme\":false}", 9 | "version": 1, 10 | "kibanaSavedObjectMeta": { 11 | "searchSourceJSON": "{\"filter\":[{\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}}}]}" 12 | } 13 | } -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/helper/http.go: -------------------------------------------------------------------------------- 1 | package helper 2 | 3 | /* 4 | 5 | The http helper should make it simpler to implement any metrics which can be retrieved through http. 6 | 7 | TODO: 8 | * Provide objects to support config for tls, username and headers for a http request 9 | * Support for get, post, put, delete, ... 10 | * Add interface HttpMetricer that could be checked automatically? 11 | 12 | 13 | */ 14 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "os" 5 | 6 | "github.com/elastic/beats/metricbeat/beater" 7 | _ "github.com/elastic/beats/metricbeat/include" 8 | 9 | "github.com/elastic/beats/libbeat/beat" 10 | ) 11 | 12 | var Name = "metricbeat" 13 | 14 | func main() { 15 | if err := beat.Run(Name, "", beater.New()); err != nil { 16 | os.Exit(1) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // This file is mandatory as otherwise the packetbeat.test binary is not generated correctly. 4 | 5 | import ( 6 | "flag" 7 | "testing" 8 | ) 9 | 10 | var systemTest *bool 11 | 12 | func init() { 13 | systemTest = flag.Bool("systemTest", false, "Set to true when running system tests") 14 | } 15 | 16 | // Test started when the test binary is started. Only calls main. 17 | func TestSystem(t *testing.T) { 18 | 19 | if *systemTest { 20 | main() 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/module/apache/apache.go: -------------------------------------------------------------------------------- 1 | package apache 2 | 3 | import ( 4 | "github.com/elastic/beats/metricbeat/helper" 5 | ) 6 | 7 | func init() { 8 | if err := helper.Registry.AddModuler("apache", New); err != nil { 9 | panic(err) 10 | } 11 | } 12 | 13 | // New creates new instance of Moduler 14 | func New() helper.Moduler { 15 | return &Moduler{} 16 | } 17 | 18 | type Moduler struct{} 19 | 20 | func (m *Moduler) Setup(mo *helper.Module) error { 21 | return nil 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/module/apache/testing.go: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Helper functions for testing used in the apache metricsets 4 | 5 | */ 6 | package apache 7 | 8 | import ( 9 | "os" 10 | ) 11 | 12 | func GetApacheEnvHost() string { 13 | host := os.Getenv("APACHE_HOST") 14 | 15 | if len(host) == 0 { 16 | host = "127.0.0.1" 17 | } 18 | return host 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/module/doc.go: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | The modules register with the module-supervisor object 4 | The metric register with the module object 5 | 6 | Both happens in the init object 7 | 8 | 9 | Modules should not have to manage their metrics 10 | Metrics register with the modules 11 | 12 | 13 | */ 14 | 15 | package module 16 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/module/mysql/glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/elastic/beats/metricbeat/module/mysql 2 | import: 3 | - package: github.com/go-sql-driver/mysql 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/module/mysql/mysql_integration_test.go: -------------------------------------------------------------------------------- 1 | // +build integration 2 | 3 | package mysql 4 | 5 | import ( 6 | "testing" 7 | 8 | "github.com/stretchr/testify/assert" 9 | ) 10 | 11 | func TestConnect(t *testing.T) { 12 | 13 | db, err := Connect(GetMySQLEnvDSN()) 14 | assert.NoError(t, err) 15 | 16 | err = db.Ping() 17 | assert.NoError(t, err) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/module/mysql/testing.go: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Helper functions for testing used in the mysql metricsets 4 | 5 | */ 6 | package mysql 7 | 8 | import ( 9 | "os" 10 | ) 11 | 12 | func GetMySQLEnvDSN() string { 13 | dsn := os.Getenv("MYSQL_DSN") 14 | 15 | if len(dsn) == 0 { 16 | dsn = CreateDSN("tcp(127.0.0.1:3306)/", "root", "") 17 | } 18 | return dsn 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/module/redis/redis_test.go: -------------------------------------------------------------------------------- 1 | // +build integration 2 | 3 | package redis 4 | 5 | import ( 6 | "testing" 7 | 8 | //"github.com/elastic/beats/libbeat/logp" 9 | "github.com/stretchr/testify/assert" 10 | ) 11 | 12 | func TestConnect(t *testing.T) { 13 | 14 | _, err := Connect(GetRedisEnvHost() + ":" + GetRedisEnvPort()) 15 | assert.NoError(t, err) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/module/redis/testing.go: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Helper functions for testing used in the redis metricsets 4 | 5 | */ 6 | package redis 7 | 8 | import ( 9 | "os" 10 | ) 11 | 12 | func GetRedisEnvHost() string { 13 | host := os.Getenv("REDIS_HOST") 14 | 15 | if len(host) == 0 { 16 | host = "127.0.0.1" 17 | } 18 | return host 19 | } 20 | 21 | func GetRedisEnvPort() string { 22 | port := os.Getenv("REDIS_PORT") 23 | 24 | if len(port) == 0 { 25 | port = "6379" 26 | } 27 | return port 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/module/system/system.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import ( 4 | "github.com/elastic/beats/metricbeat/helper" 5 | ) 6 | 7 | func init() { 8 | helper.Registry.AddModuler("system", New) 9 | } 10 | 11 | // New creates new instance of Moduler 12 | func New() helper.Moduler { 13 | return &Moduler{} 14 | } 15 | 16 | type Moduler struct{} 17 | 18 | func (m Moduler) Setup(md *helper.Module) error { 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/metricbeat/tests/environments/apache/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM httpd:2.4 2 | COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf 3 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/.gitignore: -------------------------------------------------------------------------------- 1 | /packetbeat 2 | 3 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 4 | *.dev.yml 5 | 6 | /docs/html_docs 7 | /build/ 8 | 9 | # Folders 10 | _obj 11 | _test 12 | _output 13 | 14 | # Architecture specific extensions/prefixes 15 | *.[568vq] 16 | [568vq].out 17 | 18 | *.cgo1.go 19 | *.cgo2.c 20 | _cgo_defun.c 21 | _cgo_gotypes.go 22 | _cgo_export.* 23 | 24 | _testmain.go 25 | 26 | *.exe 27 | 28 | # IDE files / folders 29 | .idea 30 | 31 | *.test 32 | 33 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/debian/compat: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/debian/control: -------------------------------------------------------------------------------- 1 | Source: packetbeat 2 | Section: net 3 | Priority: optional 4 | Maintainer: Monica Sarbu 5 | Build-Depends: debhelper (>= 7.0.50~), libpcap0.8-dev 6 | Standards-Version: 3.8.3 7 | Homepage: http://packetbeat.com 8 | Vcs-browser: https://github.com/packetbeat/packetbeat 9 | Vcs-git: https://github.com/packetbeat/packetbeat.git 10 | 11 | Package: packetbeat 12 | Architecture: any 13 | Depends: ${shlibs:Depends}, ${misc:Depends} 14 | Description: Packetbeat Agent 15 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | %: 3 | dh $@ 4 | 5 | override_dh_auto_test: 6 | go test -short 7 | 8 | override_dh_installinit: 9 | dh_installinit --no-start 10 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docker-compose.yml: -------------------------------------------------------------------------------- 1 | beat: 2 | build: . 3 | environment: 4 | - LIBBEAT_PATH=/go/src/github.com/elastic/beats/libbeat 5 | # Puts build dir outside of shared file system to prevent issues 6 | # This means artifacts are not shared locally 7 | - BUILD_DIR=/tmp/build 8 | volumes: 9 | - ..:/go/src/github.com/elastic/beats/ 10 | working_dir: /go/src/github.com/elastic/beats/packetbeat 11 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/configuring-howto.asciidoc: -------------------------------------------------------------------------------- 1 | [[configuring-howto-packetbeat]] 2 | == Configuring Packetbeat 3 | 4 | After following the <> in the 5 | Getting Started, you might want to fine tune the behavior of Packetbeat. This section 6 | describes some common use cases for changing configuration options. 7 | 8 | For a complete description of all Packetbeat configuration options, see <>. 9 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/configuring-logstash.asciidoc: -------------------------------------------------------------------------------- 1 | [[config-packetbeat-logstash]] 2 | === Configuring Packetbeat to Use Logstash 3 | 4 | include::../../libbeat/docs/shared-logstash-config.asciidoc[] 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/discovery-packetbeat-flows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/discovery-packetbeat-flows.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/discovery-packetbeat-transactions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/discovery-packetbeat-transactions.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/filter_from_context.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/filter_from_context.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-created-indexes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-created-indexes.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-discover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-discover.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-filters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-filters.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-index-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-index-pattern.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-navigation-vis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-navigation-vis.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-query-filtering.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/kibana-query-filtering.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/kibana_connection_failed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/kibana_connection_failed.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/option_ignore_outgoing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/option_ignore_outgoing.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/packetbeat-statistics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/packetbeat-statistics.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/saved-packetbeat-searches.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/saved-packetbeat-searches.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/thrift-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/thrift-dashboard.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/images/topology_map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/docs/images/topology_map.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/reference.asciidoc: -------------------------------------------------------------------------------- 1 | [[reference]] 2 | = Reference 3 | 4 | [partintro] 5 | -- 6 | This section contains reference information about Packetbeat. 7 | 8 | -- 9 | 10 | include::../../libbeat/docs/yaml.asciidoc[] 11 | include::reference/configuration.asciidoc[] 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/docs/securing-packetbeat.asciidoc: -------------------------------------------------------------------------------- 1 | [[securing-packetbeat]] 2 | == Securing Packetbeat 3 | 4 | The following topics describe how to secure communication between Packetbeat and other products in the Elastic stack: 5 | 6 | * <> 7 | * <> 8 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/etc/kibana/visualization/Total-number-of-HTTP-transactions.json: -------------------------------------------------------------------------------- 1 | { 2 | "visState": "{\"title\":\"Total number of HTTP transactions\",\"type\":\"metric\",\"params\":{\"fontSize\":\"37\",\"handleNoResults\":true},\"aggs\":[{\"id\":\"1\",\"type\":\"count\",\"schema\":\"metric\",\"params\":{}}],\"listeners\":{}}", 3 | "description": "", 4 | "title": "Total number of HTTP transactions", 5 | "uiStateJSON": "{}", 6 | "version": 1, 7 | "savedSearchId": "Web-transactions", 8 | "kibanaSavedObjectMeta": { 9 | "searchSourceJSON": "{\"filter\":[]}" 10 | } 11 | } -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // This file is mandatory as otherwise the packetbeat.test binary is not generated correctly. 4 | 5 | import ( 6 | "flag" 7 | "testing" 8 | ) 9 | 10 | var systemTest *bool 11 | 12 | func init() { 13 | systemTest = flag.Bool("systemTest", false, "Set to true when running system tests") 14 | } 15 | 16 | // Test started when the test binary is started. Only calls main. 17 | func TestSystem(t *testing.T) { 18 | 19 | if *systemTest { 20 | main() 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/protos/dns/config.go: -------------------------------------------------------------------------------- 1 | package dns 2 | 3 | import ( 4 | "github.com/elastic/beats/packetbeat/config" 5 | "github.com/elastic/beats/packetbeat/protos" 6 | ) 7 | 8 | type dnsConfig struct { 9 | config.ProtocolCommon `config:",inline"` 10 | Include_authorities bool `config:"include_authorities"` 11 | Include_additionals bool `config:"include_additionals"` 12 | } 13 | 14 | var ( 15 | defaultConfig = dnsConfig{ 16 | ProtocolCommon: config.ProtocolCommon{ 17 | TransactionTimeout: protos.DefaultTransactionExpiration, 18 | }, 19 | } 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/protos/icmp/README: -------------------------------------------------------------------------------- 1 | also see other ICMP implementations 2 | http://godoc.org/golang.org/x/net/icmp 3 | http://godoc.org/golang.org/x/net/ipv4#ICMPType 4 | http://godoc.org/golang.org/x/net/ipv6#ICMPType 5 | 6 | see 7 | libbeat/CONTRIBUTING.md 8 | libbeat/common/endpoint.go 9 | libbeat/common/tuples.go 10 | SUPPORT_PROTOCOL.md 11 | docs/new_protocol.asciidoc 12 | etc/fields.yml 13 | 14 | requirements 15 | - transaction: single message or message pair 16 | - correlation key: ip: src, dst; icmp: id, seq 17 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/protos/icmp/config.go: -------------------------------------------------------------------------------- 1 | package icmp 2 | 3 | import ( 4 | "time" 5 | 6 | "github.com/elastic/beats/packetbeat/protos" 7 | ) 8 | 9 | type icmpConfig struct { 10 | SendRequest bool `config:"send_request"` 11 | SendResponse bool `config:"send_response"` 12 | TransactionTimeout time.Duration `config:"transaction_timeout"` 13 | } 14 | 15 | var ( 16 | defaultConfig = icmpConfig{ 17 | TransactionTimeout: protos.DefaultTransactionExpiration, 18 | } 19 | ) 20 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/protos/nfs/config.go: -------------------------------------------------------------------------------- 1 | package nfs 2 | 3 | import ( 4 | "github.com/elastic/beats/packetbeat/config" 5 | "github.com/elastic/beats/packetbeat/protos" 6 | ) 7 | 8 | type rpcConfig struct { 9 | config.ProtocolCommon `config:",inline"` 10 | } 11 | 12 | var ( 13 | defaultConfig = rpcConfig{ 14 | ProtocolCommon: config.ProtocolCommon{ 15 | TransactionTimeout: protos.DefaultTransactionExpiration, 16 | }, 17 | } 18 | ) 19 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/protos/redis/config.go: -------------------------------------------------------------------------------- 1 | package redis 2 | 3 | import ( 4 | "github.com/elastic/beats/packetbeat/config" 5 | "github.com/elastic/beats/packetbeat/protos" 6 | ) 7 | 8 | type redisConfig struct { 9 | config.ProtocolCommon `config:",inline"` 10 | } 11 | 12 | var ( 13 | defaultConfig = redisConfig{ 14 | ProtocolCommon: config.ProtocolCommon{ 15 | TransactionTimeout: protos.DefaultTransactionExpiration, 16 | }, 17 | } 18 | ) 19 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.swp 3 | *.swo 4 | *.swn 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/README.md: -------------------------------------------------------------------------------- 1 | # System tests for Packetbeat 2 | 3 | This folder contains the system tests for Packetbeat. The system tests 4 | are written in Python and they make use of the nose framework. 5 | 6 | ## Running 7 | 8 | You need python (>=2.7), virtualenv and pip installed. Then you can prepare 9 | the setup and run all the tests with: 10 | 11 | make test 12 | 13 | Running a single test, e.g.: 14 | 15 | . env/bin/activate 16 | nosetests test_0002_thrift_basics.py:Test.test_thrift_integration 17 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/files/geoip_city.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/files/geoip_city.dat -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/files/geoip_city_blocks.csv: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 MaxMind LLC. All Rights Reserved. 2 | locId,country,region,city,postalCode,latitude,longitude,metroCode,areaCode 3 | "1509369600","1509369855","350669" 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/files/geoip_city_loc.csv: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 MaxMind LLC. All Rights Reserved. 2 | locId,country,region,city,postalCode,latitude,longitude,metroCode,areaCode 3 | 350669,"DE","16","Berlin","10119",52.5285,13.4109,, 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/README.md: -------------------------------------------------------------------------------- 1 | Helper scripts used to generate traces for integration tests. 2 | 3 | Scripts must connect to remote server and run theris scenarios. 4 | Use tcpdump to create pcaps for traces. 5 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/requirements.txt: -------------------------------------------------------------------------------- 1 | pylibmc 2 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/tcp_counter_ops.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import mc 4 | 5 | 6 | def run(mc): 7 | print('run') 8 | 9 | mc.set('cnt', 0) 10 | mc.incr('cnt', 2) 11 | mc.decr('cnt', 5) 12 | print(mc.get('cnt')) 13 | 14 | if __name__ == '__main__': 15 | mc.run_tcp(run) 16 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/tcp_delete.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import mc 4 | 5 | 6 | def run(mc): 7 | print('run') 8 | 9 | mc.set('key', 'abc') 10 | mc.delete('key') 11 | print(mc.get('key')) 12 | 13 | if __name__ == '__main__': 14 | mc.run_tcp(run) 15 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/tcp_multi_store_load.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import mc 4 | 5 | 6 | def run(mc): 7 | print('run') 8 | 9 | res = mc.set_multi({ 10 | "k1": 100*'a', 11 | "k2": 20*'b', 12 | "k3": 10*'c', 13 | }) 14 | print(res) 15 | if len(res) > 0: 16 | raise RuntimeError("failed to set value") 17 | 18 | res = mc.get_multi(["x", "k1", "k2", "k3", "y"]) 19 | print(res) 20 | 21 | if __name__ == '__main__': 22 | mc.run_tcp(run) 23 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/tcp_single_load_store.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import mc 4 | 5 | 6 | def run(mc): 7 | print('run') 8 | 9 | # write 2kb entry 10 | v = 2046*'a' 11 | if not mc.set('test_key', v): 12 | raise RuntimeError("failed to set value") 13 | 14 | if v != mc.get('test_key'): 15 | raise RuntimeError("returned value differs") 16 | 17 | if __name__ == '__main__': 18 | mc.run_tcp(run) 19 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/tcp_stats.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import mc 4 | 5 | 6 | def run(mc): 7 | print('run') 8 | mc.set('key', 'abc') 9 | print(mc.get('key')) 10 | print(mc.get_stats()) 11 | 12 | if __name__ == '__main__': 13 | mc.run_tcp(run) 14 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/udp_counter_ops.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import mc 4 | 5 | 6 | def run(mc): 7 | mc.set('cnt', 0) 8 | mc.incr('cnt', 2) 9 | mc.decr('cnt', 5) 10 | 11 | if __name__ == '__main__': 12 | mc.run_udp(run) 13 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/udp_delete.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import mc 4 | 5 | 6 | def run(mc): 7 | print('run') 8 | 9 | mc.set('key', 'abc') 10 | mc.delete('key') 11 | 12 | if __name__ == '__main__': 13 | mc.run_udp(run) 14 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/udp_multi_store.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import mc 4 | 5 | 6 | def run(mc): 7 | print('run') 8 | 9 | res = mc.set_multi({ 10 | "k1": 100*'a', 11 | "k2": 20*'b', 12 | "k3": 10*'c', 13 | }) 14 | print(res) 15 | 16 | if __name__ == '__main__': 17 | mc.run_udp(run) 18 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/gen/memcache/udp_single_store.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import mc 4 | 5 | 6 | def run(mc): 7 | print('run') 8 | 9 | # write 1kb entry 10 | v = 1024*'a' 11 | if not mc.set('test_key', v): 12 | raise RuntimeError("failed to set value") 13 | 14 | if __name__ == '__main__': 15 | mc.run_udp(run) 16 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/amqp_channel_error.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/amqp_channel_error.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/amqp_emit_receive.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/amqp_emit_receive.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/amqp_publish.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/amqp_publish.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_additional.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_additional.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_google_com.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_google_com.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_mx.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_mx.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_not_found.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_not_found.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_ns.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_ns.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_tcp_axfr.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_tcp_axfr.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_txt.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_txt.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_udp_edns_ds.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/dns_udp_edns_ds.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/gap_in_stream.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/gap_in_stream.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/hide_secret_GET.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/hide_secret_GET.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/hide_secret_POST.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/hide_secret_POST.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_10_connection_close.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_10_connection_close.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_basicauth.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_basicauth.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_minitwit.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_minitwit.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_over_vlan.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_over_vlan.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_post.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_post.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_realip.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_realip.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_url_params.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_url_params.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_x_forwarded_for.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/http_x_forwarded_for.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp4_ping.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp4_ping.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp4_ping_over_vlan.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp4_ping_over_vlan.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp6_ping.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp6_ping.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp6_ping_over_vlan.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp6_ping_over_vlan.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp_2_pings.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/icmp/icmp_2_pings.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/ipv6_thrift.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/ipv6_thrift.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_counter_ops.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_counter_ops.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_delete.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_delete.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_multi_store_load.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_multi_store_load.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_single_load_store.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_single_load_store.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_stats.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_tcp_stats.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_udp_counter_ops.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_udp_counter_ops.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_udp_delete.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_udp_delete.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_udp_multi_store.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_udp_multi_store.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_udp_single_store.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_bin_udp_single_store.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_counter_ops.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_counter_ops.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_delete.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_delete.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_multi_store_load.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_multi_store_load.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_single_load_store.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_single_load_store.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_stats.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_tcp_stats.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_udp_counter_ops.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_udp_counter_ops.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_udp_delete.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_udp_delete.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_udp_multi_store.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_udp_multi_store.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_udp_single_store.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/memcache/memcache_text_udp_single_store.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongo_3.0_session.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongo_3.0_session.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongo_one_row.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongo_one_row.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_create_collection.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_create_collection.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_find.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_find.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_insert_duplicate_key.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_insert_duplicate_key.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_inserts.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_inserts.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_more_rows.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_more_rows.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_reply_request_reply.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_reply_request_reply.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_use_db.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mongodb_use_db.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_affected_rows.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_affected_rows.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_err_database_not_selected.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_err_database_not_selected.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_int_string_operations.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_int_string_operations.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_long.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_long.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_long_result.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_long_result.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_with_gap.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_with_gap.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_with_whitespaces.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/mysql_with_whitespaces.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/nfs_v3.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/nfs_v3.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/nfs_v4.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/nfs_v4.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_extended_query.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_extended_query.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_insert.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_insert.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_insert_error.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_insert_error.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_long_result.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_long_result.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_request_response.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_request_response.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_rt.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/pgsql_rt.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/redis_one_transaction.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/redis_one_transaction.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/redis_session.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/redis_session.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/thrift_echo_binary.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/thrift_echo_binary.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/thrift_integration.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/thrift_integration.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/thrift_tutorial.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/thrift_tutorial.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/thrift_tutorial_framed_transport.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/thrift_tutorial_framed_transport.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/wsgi_drum.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/wsgi_drum.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/wsgi_loopback.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/packetbeat/tests/system/pcaps/wsgi_loopback.pcap -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/Dockerfile: -------------------------------------------------------------------------------- 1 | # Basic debian file with curl, wget and nano installed to fetch files 2 | # an update config files 3 | FROM debian:latest 4 | MAINTAINER Nicolas Ruflin 5 | 6 | RUN apt-get update && \ 7 | apt-get install -y curl nano wget zip && \ 8 | apt-get clean 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/Makefile: -------------------------------------------------------------------------------- 1 | ENV?=latest.yml 2 | 3 | start: 4 | # This is run every time to make sure the environment is up-to-date 5 | docker-compose -f base.yml -f ${ENV} build 6 | docker-compose -f base.yml -f ${ENV} run beat bash 7 | 8 | stop: 9 | docker-compose -f base.yml -f ${ENV} stop 10 | docker-compose -f base.yml -f ${ENV} rm -f 11 | 12 | # Be careful using this command, as it will remove all containers and volumes of your docker-machine 13 | clean: 14 | docker stop $(shell docker ps -a -q) 15 | docker rm -v $(shell docker ps -a -q) 16 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/docker/elasticsearch/config/logging.yml: -------------------------------------------------------------------------------- 1 | # you can override this using by setting a system property, for example -Des.logger.level=DEBUG 2 | es.logger.level: INFO 3 | rootLogger: ${es.logger.level}, console 4 | logger: 5 | # log action execution errors for easier debugging 6 | action: DEBUG 7 | # reduce the logging for aws, too much is logged under the default INFO 8 | com.amazonaws: WARN 9 | 10 | appender: 11 | console: 12 | type: console 13 | layout: 14 | type: consolePattern 15 | conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n" 16 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/docker/elasticsearch/docker-entrypoint-shield.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Add the admin user 4 | echo "adding admin user $ES_USER..." 5 | esusers --path.conf=/usr/share/elasticsearch/config useradd $ES_USER -p $ES_PASS -r admin 6 | echo 'done' 7 | 8 | # run original entrypoint 9 | exec /docker-entrypoint.sh $@ 10 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/docker/logstash/gencerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | mkdir -p pki/tls/certs 4 | mkdir -p pki/tls/private 5 | openssl req -subj '/CN=logstash/' -x509 -days $((100 * 365)) -batch -nodes -newkey rsa:2048 -keyout pki/tls/private/logstash.key -out pki/tls/certs/logstash.crt 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/docker/sredis/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian:latest 2 | 3 | RUN apt-get update \ 4 | && apt-get upgrade -y \ 5 | && apt-get install stunnel4 -y 6 | 7 | COPY stunnel.conf /etc/stunnel/stunnel.conf 8 | COPY pki /etc/pki 9 | 10 | EXPOSE 6380 11 | 12 | CMD ["stunnel"] 13 | 14 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/docker/sredis/gencerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | mkdir -p pki/tls/certs 4 | mkdir -p pki/tls/private 5 | openssl req -subj '/CN=sredis/' -x509 -days $((100 * 365)) -batch -nodes -newkey rsa:2048 -keyout pki/tls/private/sredis.key -out pki/tls/certs/sredis.crt 6 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/docker/sredis/stunnel.conf: -------------------------------------------------------------------------------- 1 | foreground=yes 2 | 3 | cert=/etc/pki/tls/certs/sredis.crt 4 | key=/etc/pki/tls/private/sredis.key 5 | 6 | [redis] 7 | accept=6380 8 | connect=redis:6379 9 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/docker/test.env: -------------------------------------------------------------------------------- 1 | ES_HOST=elasticsearch 2 | ES_PORT=9200 3 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/es17-ls15-kb41.yml: -------------------------------------------------------------------------------- 1 | # This is the environment with the last major releases 2 | # It extends the base.yml environment 3 | 4 | elasticsearch: 5 | image: elasticsearch:1.7 6 | 7 | logstash: 8 | build: ./docker/logstash 9 | dockerfile: Dockerfile-1.5.5 10 | 11 | kibana: 12 | image: kibana:4.1 13 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/latest.yml: -------------------------------------------------------------------------------- 1 | # This is the latest stable release environment 2 | # It inherits from base.yml 3 | 4 | elasticsearch: 5 | build: docker/elasticsearch 6 | dockerfile: Dockerfile-2.3.0 7 | command: elasticsearch -Des.network.host=0.0.0.0 8 | 9 | logstash: 10 | build: docker/logstash 11 | dockerfile: Dockerfile-2.3.0 12 | 13 | kibana: 14 | build: docker/kibana/ 15 | dockerfile: Dockerfile-4.5.0 16 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/snapshot-2x.yml: -------------------------------------------------------------------------------- 1 | # This should test the environment with the latest snapshots 2 | # This is based on base.yml 3 | elasticsearch: 4 | build: ./docker/elasticsearch 5 | dockerfile: Dockerfile-2.3.2 6 | command: elasticsearch -Des.network.host=0.0.0.0 7 | 8 | logstash: 9 | build: ./docker/logstash 10 | dockerfile: Dockerfile-2.3.2 11 | 12 | kibana: 13 | build: ./docker/kibana 14 | dockerfile: Dockerfile-4.5.0 15 | 16 | 17 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/testing/environments/snapshot.yml: -------------------------------------------------------------------------------- 1 | # This should test the environment with the latest snapshots 2 | # This is based on base.yml 3 | elasticsearch: 4 | build: ./docker/elasticsearch 5 | dockerfile: Dockerfile-5.0.0-alpha1 6 | command: elasticsearch -Ees.network.host=0.0.0.0 -Ees.discovery.zen.minimum_master_nodes=1 7 | 8 | logstash: 9 | build: ./docker/logstash 10 | dockerfile: Dockerfile-5.0.0-alpha1 11 | 12 | kibana: 13 | build: ./docker/kibana 14 | dockerfile: Dockerfile-5.0.0-alpha1 15 | 16 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | topbeat 3 | 4 | *.dev.yml 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | 23 | /cover/ 24 | /coverage/ 25 | /tests/system/env/ 26 | /tests/system/run/ 27 | /tests/system/last_run 28 | profile.cov 29 | .idea 30 | /docs/html_docs 31 | 32 | build 33 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please read the [CONTRIBUTING](../CONTRIBUTING.md) file from the top level 2 | folder and consider the following notes: 3 | 4 | * Topbeat makes use of Cgo, so in addition to having Go installed you need a C 5 | compiler for your operating system. 6 | * Topbeat aims to support multiple operating systems. Please think about adding 7 | new functionality in a way that makes sense for all supported operating 8 | systems, not only the one you are using. 9 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/Makefile: -------------------------------------------------------------------------------- 1 | BEATNAME=topbeat 2 | SYSTEM_TESTS=true 3 | 4 | # Only crosscompile for linux because other OS'es use cgo. 5 | GOX_OS=linux 6 | 7 | include ../libbeat/scripts/Makefile 8 | 9 | # This is called by the beats packer before building starts 10 | .PHONY: before-build 11 | before-build: 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/beater/config.go: -------------------------------------------------------------------------------- 1 | package beater 2 | 3 | type TopConfig struct { 4 | Period *int64 5 | Procs *[]string 6 | Stats struct { 7 | System *bool `config:"system"` 8 | Proc *bool `config:"process"` 9 | Filesystem *bool `config:"filesystem"` 10 | CpuPerCore *bool `config:"cpu_per_core"` 11 | } 12 | } 13 | 14 | type ConfigSettings struct { 15 | Input *TopConfig `config:"input"` 16 | Topbeat *TopConfig `config:"topbeat"` 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/beater/topbeat_test.go: -------------------------------------------------------------------------------- 1 | // +build !integration 2 | 3 | package beater 4 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/configuring-howto.asciidoc: -------------------------------------------------------------------------------- 1 | [[configuring-howto-topbeat]] 2 | == Configuring Topbeat 3 | 4 | After following the <> in the 5 | Getting Started, you might want to fine tune the behavior of Topbeat. This section 6 | describes some common use cases for changing configuration options. 7 | 8 | For a complete description of all Topbeat configuration options, see <>. 9 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/configuring-logstash.asciidoc: -------------------------------------------------------------------------------- 1 | [[config-topbeat-logstash]] 2 | === Configuring Topbeat to Use Logstash 3 | 4 | include::../../libbeat/docs/shared-logstash-config.asciidoc[] -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/faq.asciidoc: -------------------------------------------------------------------------------- 1 | [[faq]] 2 | == Frequently Asked Questions 3 | 4 | This section contains frequently asked questions about Topbeat. Also check out the 5 | https://discuss.elastic.co/c/beats/topbeat[Topbeat discussion forum]. 6 | 7 | [[dashboard-fields-incorrect-topbeat]] 8 | === Why is the dashboard in Kibana breaking up my data fields incorrectly? 9 | 10 | The index template might not be loaded correctly. See <>. 11 | 12 | include::../../libbeat/docs/shared-faq.asciidoc[] 13 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/images/kibana-created-indexes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/topbeat/docs/images/kibana-created-indexes.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/images/kibana-topbeat-discover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/topbeat/docs/images/kibana-topbeat-discover.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/images/kibana-topbeat-index-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/topbeat/docs/images/kibana-topbeat-index-pattern.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/images/option_ignore_outgoing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/topbeat/docs/images/option_ignore_outgoing.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/images/topbeat-dashboard-1shipper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/topbeat/docs/images/topbeat-dashboard-1shipper.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/images/topbeat-dashboard-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/topbeat/docs/images/topbeat-dashboard-example.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/images/topbeat-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/topbeat/docs/images/topbeat-dashboard.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/reference.asciidoc: -------------------------------------------------------------------------------- 1 | [[reference]] 2 | = Reference 3 | 4 | [partintro] 5 | -- 6 | This section contains reference information about Topbeat. 7 | 8 | -- 9 | 10 | include::../../libbeat/docs/yaml.asciidoc[] 11 | include::reference/configuration.asciidoc[] 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/securing-topbeat.asciidoc: -------------------------------------------------------------------------------- 1 | [[securing-topbeat]] 2 | == Securing Topbeat 3 | 4 | The following topics describe how to secure communication between Topbeat and other products in the Elastic stack: 5 | 6 | * <> 7 | * <> -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/docs/troubleshooting.asciidoc: -------------------------------------------------------------------------------- 1 | [[troubleshooting]] 2 | = Troubleshooting 3 | 4 | [partintro] 5 | -- 6 | If you have issues installing or running Topbeat, read the 7 | following tips. 8 | 9 | -- 10 | 11 | [[getting-support]] 12 | == Getting Help 13 | 14 | include::../../libbeat/docs/getting-help.asciidoc[] 15 | 16 | [[enable-topbeat-debugging]] 17 | == Debugging 18 | 19 | include::../../libbeat/docs/debugging.asciidoc[] 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "os" 5 | 6 | "github.com/elastic/beats/libbeat/beat" 7 | "github.com/elastic/beats/topbeat/beater" 8 | ) 9 | 10 | var Name = "topbeat" 11 | 12 | func main() { 13 | if err := beat.Run(Name, "", beater.New()); err != nil { 14 | os.Exit(1) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // This file is mandatory as otherwise the packetbeat.test binary is not generated correctly. 4 | 5 | import ( 6 | "flag" 7 | "testing" 8 | ) 9 | 10 | var systemTest *bool 11 | 12 | func init() { 13 | systemTest = flag.Bool("systemTest", false, "Set to true when running system tests") 14 | } 15 | 16 | // Test started when the test binary is started. Only calls main. 17 | func TestSystem(t *testing.T) { 18 | 19 | if *systemTest { 20 | main() 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/system/common.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import ( 4 | "math" 5 | ) 6 | 7 | func Round(val float64, roundOn float64, places int) (newVal float64) { 8 | var round float64 9 | pow := math.Pow(10, float64(places)) 10 | digit := pow * val 11 | _, div := math.Modf(digit) 12 | if div >= roundOn { 13 | round = math.Ceil(digit) 14 | } else { 15 | round = math.Floor(digit) 16 | } 17 | newVal = round / pow 18 | return 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/tests/README.md: -------------------------------------------------------------------------------- 1 | This directory contains utilities for testing topbeat. 2 | 3 | To execute burn application: 4 | GOMAXPROCS=4 go run burn.go -cpus 4 5 | 6 | 7 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/tests/burn.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "flag" 4 | 5 | func main() { 6 | cpus := flag.Int("cpus", 1, "Number of burning goroutines to start") 7 | flag.Parse() 8 | 9 | x := 17 10 | var c chan bool 11 | for i := 0; i < *cpus; i++ { 12 | go func() { 13 | for { 14 | x = x * x 15 | } 16 | }() 17 | } 18 | <-c 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/topbeat/tests/system/topbeat.py: -------------------------------------------------------------------------------- 1 | import sys 2 | sys.path.append('../../../libbeat/tests/system') 3 | from beat.beat import TestCase 4 | 5 | 6 | class BaseTest(TestCase): 7 | 8 | @classmethod 9 | def setUpClass(self): 10 | self.beat_name = "topbeat" 11 | super(BaseTest, self).setUpClass() 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/README.md: -------------------------------------------------------------------------------- 1 | # Winlogbeat 2 | 3 | *You know, for windows event logs* 4 | 5 | Winlogbeat is an open-source log collector that ships Windows Event Logs to 6 | Elasticsearch or Logstash. It installs as a Windows service on all versions 7 | since Windows XP. 8 | 9 | ## Contributions 10 | 11 | We love contributions from our community! Please read the 12 | [CONTRIBUTING.md](../CONTRIBUTING.md) file. 13 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/docs/configuring-howto.asciidoc: -------------------------------------------------------------------------------- 1 | [[configuring-howto-filebeat]] 2 | == Configuring Winlogbeat 3 | 4 | After following the <> in the 5 | Getting Started, you might want to fine tune the behavior of Winlogbeat. This 6 | section describes some common use cases for changing configuration options. 7 | 8 | For a complete description of all Winlogbeat configuration options, see 9 | <>. 10 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/docs/images/option_ignore_outgoing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/winlogbeat/docs/images/option_ignore_outgoing.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/docs/images/winlogbeat-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/github.com/elastic/beats/winlogbeat/docs/images/winlogbeat-dashboard.png -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/docs/reference.asciidoc: -------------------------------------------------------------------------------- 1 | [[reference]] 2 | = Reference 3 | 4 | [partintro] 5 | -- 6 | This section contains reference information about Winlogbeat. 7 | 8 | -- 9 | 10 | include::../../libbeat/docs/yaml.asciidoc[] 11 | include::reference/configuration.asciidoc[] 12 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/docs/securing-winlogbeat.asciidoc: -------------------------------------------------------------------------------- 1 | [[securing-winlogbeat]] 2 | == Securing Winlogbeat 3 | 4 | The following topics describe how to secure communication between Winlogbeat and other products in the Elastic stack: 5 | 6 | * <> 7 | * <> -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/docs/troubleshooting.asciidoc: -------------------------------------------------------------------------------- 1 | [[troubleshooting]] 2 | = Troubleshooting 3 | 4 | [partintro] 5 | -- 6 | If you have issues installing or running Winlogbeat, read the following tips. 7 | 8 | -- 9 | 10 | == Getting Help 11 | 12 | include::../../libbeat/docs/getting-help.asciidoc[] 13 | 14 | 15 | [[enable-winlogbeat-debugging]] 16 | == Debugging 17 | 18 | include::../../libbeat/docs/debugging.asciidoc[] 19 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/etc/kibana/visualization/Number-of-Events.json: -------------------------------------------------------------------------------- 1 | { 2 | "visState": "{\"type\":\"metric\",\"params\":{\"fontSize\":60},\"aggs\":[{\"id\":\"1\",\"type\":\"count\",\"schema\":\"metric\",\"params\":{}}],\"listeners\":{}}", 3 | "description": "", 4 | "title": "Number of Events", 5 | "uiStateJSON": "{}", 6 | "version": 1, 7 | "kibanaSavedObjectMeta": { 8 | "searchSourceJSON": "{\"index\":\"winlogbeat-*\",\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}},\"filter\":[]}" 9 | } 10 | } -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/eventlog/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package eventlog provides the means for reading event logs from Windows. Windows 3 | has two different APIs for reading event logs. This package automatically 4 | chooses the appropriate API to use based on what is available in the runtime 5 | operating system. 6 | */ 7 | package eventlog 8 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // This file is mandatory as otherwise the winlogbeat.test binary is not generated correctly. 4 | import ( 5 | "flag" 6 | "testing" 7 | ) 8 | 9 | var systemTest *bool 10 | 11 | func init() { 12 | systemTest = flag.Bool("systemTest", false, "Set to true when running system tests") 13 | } 14 | 15 | // TestSystem is the function called when the test binary is started. 16 | // Only calls main. 17 | func TestSystem(t *testing.T) { 18 | if *systemTest { 19 | main() 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/sys/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package sys provides common data structures and utilties functions that are 3 | used by the subpackages for interfacing with the system level APIs to collect 4 | event log records from Windows. 5 | */ 6 | package sys 7 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/sys/errors.go: -------------------------------------------------------------------------------- 1 | package sys 2 | 3 | // InsufficientBufferError indicates the buffer passed to a system call is too 4 | // small. 5 | type InsufficientBufferError struct { 6 | Cause error 7 | RequiredSize int // Size of the buffer that is required. 8 | } 9 | 10 | // Error returns the cause of the insufficient buffer error. 11 | func (e InsufficientBufferError) Error() string { 12 | return e.Cause.Error() 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/sys/eventlogging/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package eventlogging provides access to the Event Logging API that was designed 3 | for applications that run on the Windows Server 2003, Windows XP, or Windows 4 | 2000 operating system. 5 | 6 | It can be used on new versions of Windows (i.e. Windows Vista, Windows 7, 7 | Windows Server 2008, Windows Server 2012), but the preferred API for those 8 | systems is the Windows Event Log API. See the wineventlog package. 9 | */ 10 | package eventlogging 11 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/sys/msgfile.go: -------------------------------------------------------------------------------- 1 | package sys 2 | 3 | // MessageFiles contains handles to event message files associated with an 4 | // event log source. 5 | type MessageFiles struct { 6 | SourceName string 7 | Err error 8 | Handles []FileHandle 9 | } 10 | 11 | // FileHandle contains the handle to a single Windows message file. 12 | type FileHandle struct { 13 | File string // Fully-qualified path to the event message file. 14 | Handle uintptr // Handle to the loaded event message file. 15 | Err error // Error that occurred while loading Handle. 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/elastic/beats/winlogbeat/sys/wineventlog/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package wineventlog provides access to the Windows Event Log API used in 3 | all versions of Windows since Vista (i.e. Windows 7+ and Windows Server 2008+). 4 | This is distinct from the Event Logging API that was used in Windows XP, 5 | Windows Server 2003, and Windows 2000. 6 | */ 7 | package wineventlog 8 | -------------------------------------------------------------------------------- /vendor/github.com/garyburd/redigo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | services: 4 | - redis-server 5 | 6 | go: 7 | - 1.4 8 | - 1.5 9 | - 1.6 10 | - tip 11 | 12 | script: 13 | - go get -t -v ./... 14 | - diff -u <(echo -n) <(gofmt -d .) 15 | - go vet $(go list ./... | grep -v /vendor/) 16 | - go test -v -race ./... 17 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of Snappy-Go authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | 5 | # Names should be added to this file as 6 | # Name or Organization 7 | # The email address is not required for organizations. 8 | 9 | # Please keep the list sorted. 10 | 11 | Damian Gryski 12 | Google Inc. 13 | Jan Mercl <0xjnml@gmail.com> 14 | Rodolfo Carvalho 15 | Sebastien Binet 16 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/README: -------------------------------------------------------------------------------- 1 | The Snappy compression format in the Go programming language. 2 | 3 | To download and install from source: 4 | $ go get github.com/golang/snappy 5 | 6 | Unless otherwise noted, the Snappy-Go source files are distributed 7 | under the BSD-style license found in the LICENSE file. 8 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/crc32/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/crc32/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.3 5 | - 1.4 6 | - 1.5 7 | - tip 8 | 9 | script: 10 | - go test -v . 11 | - go test -v -race . 12 | -------------------------------------------------------------------------------- /vendor/github.com/satori/go.uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.0 4 | - 1.1 5 | - 1.2 6 | - 1.3 7 | - 1.4 8 | - 1.5 9 | - 1.6 10 | sudo: false 11 | notifications: 12 | email: false 13 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | 24 | .DS_Store 25 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | go: 6 | - 1.1 7 | - 1.2 8 | - 1.3 9 | - 1.4 10 | - 1.5 11 | - 1.6 12 | - tip 13 | 14 | script: 15 | - go test -v ./... 16 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/Godeps/Godeps.json: -------------------------------------------------------------------------------- 1 | { 2 | "ImportPath": "github.com/stretchr/testify", 3 | "GoVersion": "go1.5", 4 | "Packages": [ 5 | "./..." 6 | ], 7 | "Deps": [ 8 | { 9 | "ImportPath": "github.com/davecgh/go-spew/spew", 10 | "Rev": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" 11 | }, 12 | { 13 | "ImportPath": "github.com/pmezard/go-difflib/difflib", 14 | "Rev": "d8ed2627bdf02c080bf22230dbb337003b7aba2d" 15 | }, 16 | { 17 | "ImportPath": "github.com/stretchr/objx", 18 | "Rev": "cbeaeb16a013161a98496fad62933b1d21786672" 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/Godeps/Readme: -------------------------------------------------------------------------------- 1 | This directory tree is generated automatically by godep. 2 | 3 | Please do not edit. 4 | 5 | See https://github.com/tools/godep for more information. 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { 3 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/errors.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | // AnError is an error instance useful for testing. If the code does not care 8 | // about error specifics, and only needs to return the error for example, this 9 | // error should be used to make the test code more readable. 10 | var AnError = errors.New("assert.AnError general error for testing") 11 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/forward_assertions.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | // Assertions provides assertion methods around the 4 | // TestingT interface. 5 | type Assertions struct { 6 | t TestingT 7 | } 8 | 9 | // New makes a new Assertions object for the specified TestingT. 10 | func New(t TestingT) *Assertions { 11 | return &Assertions{ 12 | t: t, 13 | } 14 | } 15 | 16 | //go:generate go run ../_codegen/main.go -output-package=assert -template=assertion_forward.go.tmpl 17 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/http/doc.go: -------------------------------------------------------------------------------- 1 | // Package http DEPRECATED USE net/http/httptest 2 | package http 3 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/http/test_round_tripper.go: -------------------------------------------------------------------------------- 1 | package http 2 | 3 | import ( 4 | "github.com/stretchr/testify/mock" 5 | "net/http" 6 | ) 7 | 8 | // TestRoundTripper DEPRECATED USE net/http/httptest 9 | type TestRoundTripper struct { 10 | mock.Mock 11 | } 12 | 13 | // RoundTrip DEPRECATED USE net/http/httptest 14 | func (t *TestRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { 15 | args := t.Called(req) 16 | return args.Get(0).(*http.Response), args.Error(1) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/package_test.go: -------------------------------------------------------------------------------- 1 | package testify 2 | 3 | import ( 4 | "github.com/stretchr/testify/assert" 5 | "testing" 6 | ) 7 | 8 | func TestImports(t *testing.T) { 9 | if assert.Equal(t, 1, 1) != true { 10 | t.Error("Something is wrong.") 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/forward_requirements.go: -------------------------------------------------------------------------------- 1 | package require 2 | 3 | // Assertions provides assertion methods around the 4 | // TestingT interface. 5 | type Assertions struct { 6 | t TestingT 7 | } 8 | 9 | // New makes a new Assertions object for the specified TestingT. 10 | func New(t TestingT) *Assertions { 11 | return &Assertions{ 12 | t: t, 13 | } 14 | } 15 | 16 | //go:generate go run ../_codegen/main.go -output-package=require -template=require_forward.go.tmpl 17 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.Comment}} 2 | func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { 3 | if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { 4 | t.FailNow() 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) { 3 | {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/requirements.go: -------------------------------------------------------------------------------- 1 | package require 2 | 3 | // TestingT is an interface wrapper around *testing.T 4 | type TestingT interface { 5 | Errorf(format string, args ...interface{}) 6 | FailNow() 7 | } 8 | 9 | //go:generate go run ../_codegen/main.go -output-package=require -template=require.go.tmpl 10 | -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.5.3 5 | - 1.6 6 | - tip 7 | -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/README.md: -------------------------------------------------------------------------------- 1 | # ucfg 2 | 3 | [![Build 4 | Status](https://travis-ci.org/urso/ucfg.svg?branch=master)](https://travis-ci.org/urso/ucfg) 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/arr_missing_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | no value in array at 5 accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/arr_missing_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | no value in array at 5 accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/arr_missing_w_meta.golden: -------------------------------------------------------------------------------- 1 | no value in array at 5 accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/arr_missing_wo_meta.golden: -------------------------------------------------------------------------------- 1 | no value in array at 5 accessing config -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/arr_oob_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | index '5' out of range (length=3) accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/arr_oob_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | index '5' out of range (length=3) accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/arr_oob_w_meta.golden: -------------------------------------------------------------------------------- 1 | index '5' out of range (length=3) accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/arr_oob_wo_meta.golden: -------------------------------------------------------------------------------- 1 | index '5' out of range (length=3) accessing config -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/array_size_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | array of length 3 does not meet required length 10 accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/array_size_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | array of length 3 does not meet required length 10 accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/array_size_w_meta.golden: -------------------------------------------------------------------------------- 1 | array of length 3 does not meet required length 10 accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/array_size_wo_meta.golden: -------------------------------------------------------------------------------- 1 | array of length 3 does not meet required length 10 accessing config -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/conversion_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | can not convert 'int' into 'bool' accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/conversion_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | can not convert 'int' into 'bool' accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/conversion_w_meta.golden: -------------------------------------------------------------------------------- 1 | can not convert 'int' into 'bool' accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/conversion_wo_meta.golden: -------------------------------------------------------------------------------- 1 | can not convert 'int' into 'bool' accessing config -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/duplicate_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | duplicate key accessing 'nested.test' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/duplicate_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | duplicate key accessing 'nested.test' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/duplicate_w_meta.golden: -------------------------------------------------------------------------------- 1 | duplicate key accessing 'test' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/duplicate_wo_meta.golden: -------------------------------------------------------------------------------- 1 | duplicate key accessing 'test' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/expected_object_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | required 'object', but found 'int' in field 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/expected_object_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | required 'object', but found 'int' in field 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/expected_object_w_meta.golden: -------------------------------------------------------------------------------- 1 | required 'object', but found 'int' in field '' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/expected_object_wo_meta.golden: -------------------------------------------------------------------------------- 1 | required 'object', but found 'int' in field '' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/inline_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) require map or struct when inling 'ABC' (string) accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/inline_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) require map or struct when inling 'ABC' (string) accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/inline_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) require map or struct when inling 'ABC' (string) accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/inline_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) require map or struct when inling 'ABC' (string) accessing config -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/invalid_type_merge_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) string key required when merging into 'map[int]interface {}' accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/invalid_type_merge_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) string key required when merging into 'map[int]interface {}' accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/invalid_type_merge_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) string key required when merging into 'map[int]interface {}' accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/invalid_type_merge_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) string key required when merging into 'map[int]interface {}' accessing config -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/invalid_type_top_level.golden: -------------------------------------------------------------------------------- 1 | (assert) can not use go type 'string' for merging/unpacking configurations -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/invalid_type_unpack_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) string key required when unpacking into 'map[int]interface {}' accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/invalid_type_unpack_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) string key required when unpacking into 'map[int]interface {}' accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/invalid_type_unpack_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) string key required when unpacking into 'map[int]interface {}' accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/invalid_type_unpack_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) string key required when unpacking into 'map[int]interface {}' accessing config -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/missing_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | missing field accessing 'nested.field' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/missing_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | missing field accessing 'nested.field' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/missing_w_meta.golden: -------------------------------------------------------------------------------- 1 | missing field accessing 'field' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/missing_wo_meta.golden: -------------------------------------------------------------------------------- 1 | missing field accessing 'field' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/nil_config_error.golden: -------------------------------------------------------------------------------- 1 | (assert) config is nil -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/nil_value_error.golden: -------------------------------------------------------------------------------- 1 | (assert) nil value is invalid -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/pointer_required.golden: -------------------------------------------------------------------------------- 1 | (assert) pointer required for unpacking configurations -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/squash_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) require map or struct when squash merging 'ABC' (string) accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/squash_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) require map or struct when squash merging 'ABC' (string) accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/squash_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) require map or struct when squash merging 'ABC' (string) accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/squash_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) require map or struct when squash merging 'ABC' (string) accessing config -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/to_type_not_supported_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) value of type 'int' not convertible into unsupported go type 'struct {}' accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/to_type_not_supported_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) value of type 'int' not convertible into unsupported go type 'struct {}' accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/to_type_not_supported_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) value of type 'int' not convertible into unsupported go type 'struct {}' accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/to_type_not_supported_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) value of type 'int' not convertible into unsupported go type 'struct {}' accessing config -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/unsupported_input_type_nested_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) unspported input type (int) with value '1' accessing 'nested' (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/unsupported_input_type_nested_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) unspported input type (int) with value '1' accessing 'nested' -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/unsupported_input_type_w_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) unspported input type (int) with value '1' accessing config (source:'test.source') -------------------------------------------------------------------------------- /vendor/github.com/urso/ucfg/testdata/error/message/unsupported_input_type_wo_meta.golden: -------------------------------------------------------------------------------- 1 | (assert) unspported input type (int) with value '1' accessing config -------------------------------------------------------------------------------- /vendor/golang.org/x/net/.gitattributes: -------------------------------------------------------------------------------- 1 | # Treat all files in this repo as binary, with no git magic updating 2 | # line endings. Windows users contributing to Go will need to use a 3 | # modern version of git and editors capable of LF line endings. 4 | # 5 | # We'll prevent accidental CRLF line endings from entering the repo 6 | # via the git-review gofmt checks. 7 | # 8 | # See golang.org/issue/9281 9 | 10 | * -text 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/README: -------------------------------------------------------------------------------- 1 | This repository holds supplementary Go networking libraries. 2 | 3 | To submit changes to this repository, see http://golang.org/doc/contribute.html. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/context/ctxhttp/cancelreq.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.5 6 | 7 | package ctxhttp 8 | 9 | import "net/http" 10 | 11 | func canceler(client *http.Client, req *http.Request) func() { 12 | // TODO(djd): Respect any existing value of req.Cancel. 13 | ch := make(chan struct{}) 14 | req.Cancel = ch 15 | 16 | return func() { 17 | close(ch) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/context/ctxhttp/cancelreq_go14.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !go1.5 6 | 7 | package ctxhttp 8 | 9 | import "net/http" 10 | 11 | type requestCanceler interface { 12 | CancelRequest(*http.Request) 13 | } 14 | 15 | func canceler(client *http.Client, req *http.Request) func() { 16 | rc, ok := client.Transport.(requestCanceler) 17 | if !ok { 18 | return func() {} 19 | } 20 | return func() { 21 | rc.CancelRequest(req) 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/README: -------------------------------------------------------------------------------- 1 | These test cases come from 2 | http://www.w3.org/International/tests/repository/html5/the-input-byte-stream/results-basics 3 | 4 | Distributed under both the W3C Test Suite License 5 | (http://www.w3.org/Consortium/Legal/2008/04-testsuite-license) 6 | and the W3C 3-clause BSD License 7 | (http://www.w3.org/Consortium/Legal/2008/03-bsd-license). 8 | To contribute to a W3C Test Suite, see the policies and contribution 9 | forms (http://www.w3.org/2004/10/27-testcases). 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/radoondas/elasticbeat/4d7fba2ad7932f5ce0fd09e3e7df8e6560c69dd9/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/adoption02.dat: -------------------------------------------------------------------------------- 1 | #data 2 | 12

34 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | 9 | | "1" 10 | | 11 | | "2" 12 | | 13 | |

14 | | 15 | | "3" 16 | | "4" 17 | 18 | #data 19 |

20 | #errors 21 | #document 22 | | 23 | | 24 | | 25 | | 26 | |
27 | | 28 | |