Skip to content

Commit

Permalink
Light editing on the default configuration file.
Browse files Browse the repository at this point in the history
 - Link to packetbeat.com/docs, too early for a link to elastic.co :-)
 - unlike TOML, YAML rarely requires quotes around strings,
  and I think it's nicer without them.
 - commented out "disabled" output sections. I think this makes
   the first-time readability better.

Related to elastic#9
  • Loading branch information
Tudor Golubenco committed Apr 15, 2015
1 parent 895f855 commit 9ef672e
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions packetbeat.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
################### Packetbeat Agent configuration Example ######################
################### PacketBeat Agent Configuration Example ######################

# This file contains an overview of various configuration settings. Please consult
# the guide at <http://elastic.co/guide> for more details.
# the docs at <http://packetbeat.com/docs/configuration.html> for more details.

# Packetbeat is a distributed application monitoring that works
# by sniffing the network traffic between your application components.
#
#
# The PacketBeat agent works by sniffing the network traffic between your
# application components. It inserts meta-data about each transaction into
# Elasticsearch.

############################# Agent ############################################
agent:
Expand All @@ -31,7 +30,7 @@ agent:
# Select the network interfaces to sniff the data. You can use the "any"
# keyword to sniff on all connected interfaces.
interfaces:
device: 'any'
device: any


############################# Protocols ######################################
Expand All @@ -42,12 +41,12 @@ protocols:
# the http protocol by commenting the list of ports.
ports: [80, 8080, 8000, 5000, 8002]

# Uncomment the following to hide certain parameters in URL or forms attached
# to HTTP requests. The names of the parameters are case insensitive.
# Uncomment the following to hide certain parameters in URL or forms attached
# to HTTP requests. The names of the parameters are case insensitive.
# The value of the parameters will be replaced with the 'xxxxx' string.
# This is generally useful for avoiding storing user passwords or other
# sensitive information.
hide_keywords: ['pass', 'password', 'passw']
hide_keywords: ['pass', 'password', 'passwd']

mysql:

Expand Down Expand Up @@ -93,24 +92,24 @@ output:
# Options:
# host, port: where Redis is listening on
# save_topology: specify if the topology is saved in Redis
redis:
enabled: false
host: localhost
port: 6379
save_topology: true
#redis:
# enabled: true
# host: localhost
# port: 6379
# save_topology: true

# File as output
# Options:
# path: where to save the files
# filename: name of the files
# rotate_every_kb: maximum size of the files in path
# number of files: maximum number of files in path
file:
enabled: false
path: "/tmp/packetbeat"
filename: packetbeat
rotate_every_kb: 1000
number_of_files: 7
#file:
# enabled: true
# path: "/tmp/packetbeat"
# filename: packetbeat
# rotate_every_kb: 1000
# number_of_files: 7

############################# Processes ############################################

Expand Down

0 comments on commit 9ef672e

Please sign in to comment.