Skip to content

Commit

Permalink
Leave space for more config options for procs
Browse files Browse the repository at this point in the history
- Keep the same structure as in packetbeat.conf to configure procs
- #5
  • Loading branch information
monicasarbu committed Apr 7, 2015
1 parent e114dd8 commit ad06b20
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions packetbeat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,20 @@
sniffer.interfaces: ['any']


# Select the processes to be monitored and how to find them. The processes can
# Configure the processes to be monitored and how to find them. The processes can
# be found by searching their command line by a given string.
sniffer.procs: ['mysqld', 'postgres', 'nginx', 'gunicorn']
sniffer.procs:
- process: mysqld
cmdline_grep: mysqld

- process: pgsql
cmdline_grep: postgres

- process: nginx
cmdline_grep: nginx

- process: app
cmdline_grep: gunicorn

# Configure which protocols to monitor and the ports where they are
# running. You can disable a given protocol by commenting out its
Expand Down

0 comments on commit ad06b20

Please sign in to comment.