Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
packetbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
citybasebrooks committed Mar 16, 2018
1 parent 4fee90e commit 3b61bd8
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions configs/packetbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#============================== Network device ================================
name: packetbeat
# Select the network interface to sniff the data. On Linux, you can use the
# "any" keyword to sniff on all connected interfaces.
packetbeat.interfaces.device: any

#================================== Flows =====================================

# Set `enabled: false` or comment out all options to disable flows reporting.
packetbeat.flows:
# Set network flow timeout. Flow is killed if no packet is received before being
# timed out.
timeout: 30s

# Configure reporting period. If set to -1, only killed flows will be reported
period: 10s

#========================== Transaction protocols =============================

packetbeat.protocols:
- type: icmp
# Enable ICMPv4 and ICMPv6 monitoring. Default: false
enabled: true

- type: dns
# Configure the ports where to listen for DNS traffic. You can disable
# the DNS protocol by commenting out the list of ports.
ports: [53]

# include_authorities controls whether or not the dns.authorities field
# (authority resource records) is added to messages.
include_authorities: true

# include_additionals controls whether or not the dns.additionals field
# (additional resource records) is added to messages.
include_additionals: true

- type: http
# Configure the ports where to listen for HTTP traffic. You can disable
# the HTTP protocol by commenting out the list of ports.
ports: [80, 8080, 8000, 5000, 8002]

output.elasticsearch:
hosts: ["YOURELASTICIP:9200"]

0 comments on commit 3b61bd8

Please sign in to comment.