This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fee90e
commit 3b61bd8
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
|