Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
services.ini
; This file contains built-in services for aggregation
; It can be changed by user/admin and it will be applied automatically
; You can add your new paths or even new services
; All services provided in this config, but not all services can be included to Agent, they can be disabled in Agent configuration
[mysql]
; Possible comma-separated logs locations
paths=/var/log/mysql.err,/var/log/mysql.log,/var/log/mysqld.log,/var/log/mysql/mysql.log,/var/lib/mysql/*.log,/var/lib/mysql/*.err,/var/lib/mysql/*/*.log,/var/log/mysql/mysql-slow.log,/var/log/mysql/slow.log,/usr/local/var/mysql/*.err
; Possible comma-separated configs locations
configs=/etc/my.cnf,/etc/mysql/my.cnf,/home/*/my.cnf,/root/my.cnf
; This keywords will be searched in configuration files to find a proper log location
keywords=log_slow_queries,log-error,log_error,general_log_file,log_bin
; LogPacker can find running process to find possible log options
psname=mysql
; Options will be searched in found ps command. For example `mysql --log=/var/log/my-mysql.log`
psoptions=--log-error=,--log-output=,--log=,--log-slow-queries=
[postgresql]
paths=/var/log/postgresql*,/var/log/postgresql/*,/var/pg_log/*
[php]
paths=/var/log/php5-fpm.log,/var/log/php5-fpm.log,/var/log/php-fpm/*.log,/var/log/php5-fpm/*.log,/var/log/httpd/error_log,/var/log/apache2/error.log,/var/log/httpd/access_log,/usr/local/Cellar/*/*/var/log/php-fpm.log,/usr/local/var/log/php*.log
configs=/etc/php.ini,/etc/php5/cli/php.ini,/etc/php5/apache2/php.ini,/etc/php5/fpm/php.ini,/etc/php-fpm.conf,/etc/php-fpm.d/*.conf
keywords=error_log
[apache]
paths=/var/log/apache2/access.log,/var/log/apache2/error.log,/var/log/httpd/access_log,/var/log/httpd-access.log,/var/log/httpd/error,/var/log/httpd-error.log,/private/var/log/apache2/error_log,/usr/local/apache/logs/*
configs=/etc/apache2/*.conf,/etc/apache2/*/*.conf,/usr/local/etc/apache22/*.conf
keywords=AccessLog,CustomLog,ErrorLog
[nginx]
paths=/var/log/nginx/*.log,/var/log/nginx*.log,/usr/local/var/log/nginx/*.log,/usr/local/etc/nginx/logs/*
configs=/etc/nginx/*.conf,/etc/nginx/*/*.conf
keywords=access_log,error_log
[elasticsearch]
paths=/var/log/elasticsearch/*log,/var/log/elasticsearch*,/usr/local/var/log/elasticsearch/*log
configs=/etc/elasticsearch/elasticsearch.yml
keywords=path.logs
[jenkins]
paths=/var/log/jenkins/*log,/var/log/jenkins*log
[redis]
paths=/var/log/redis/*log,/var/log/redis*
configs=/etc/redis.conf
keywords=logfile
[phpLaravel]
paths=/home/*/laravel.log
[npm]
paths=/home/*/npm-debug*log
[postfix]
paths=/var/log/mail,/var/log/maillog*,/var/log/mail.log,/var/log/mail.err,/var/log/mail.info,/var/log/mail.warn
[sendmail]
paths=/var/log/mail,/var/log/maillog*,/var/log/mail.log,/var/log/mail.err,/var/log/mail.info,/var/log/mail.warn
[exim]
paths=/var/log/mail,/var/log/maillog*,/var/log/exim_mainlog,/var/log/exim_paniclog,/var/log/exim_rejectlog,/var/log/exim*,/var/spool/exim/log/*,/var/spool/exim/logs/*,/var/log/exim/*,/var/log/exim*/*
[yum]
paths=/var/log/yum.log*
[dpkg]
paths=/var/log/dpkg.log*
[supervisor]
paths=/var/log/supervisord.log,/tmp/supervisord.log
configs=/etc/supervisord.conf,/etc/supervisor.d/*.conf
keywords=logfile,stdout_logfile,stderr_logfile
[mariadb]
paths=/var/lib/mariadb/*.log,/var/log/mariadb/*.log
configs=/etc/my.cnf,/etc/mysql/my.cnf,/home/*/my.cnf,/root/my.cnf
keywords=log_slow_queries,log-error,log_error,general_log_file,log_bin
[memcached]
paths=/var/log/memcache*
configs=/etc/memcached.conf
keywords=logfile
[docker]
paths=/var/log/docker,/var/log/docker/*,/var/lib/containers/*.log,/var/lib/docker/containers/*log,/var/lib/docker/aufs/diff/*log
[puppet]
paths=/var/log/puppet/*.log
configs=/etc/puppet/puppet.conf
keywords=logdir
[mongodb]
paths=/var/log/mongodb/*.log
[jira]
paths=/var/log/atlassian*log,/var/log/atlassian/*log,/var/log/jira*log,/var/log/jira/*log
[rabbitmq]
paths=/var/log/rabbitmq/*
[gitlab]
paths=/var/log/gitlab/*,/var/log/gitlab/*/*
[zabbix]
paths=/var/log/zabbix/*
[upstart]
paths=/var/log/upstart/*
[squid]
paths=/var/log/squid*/*.log
[teamcity]
paths=/var/log/nginx/*teamcity*log,/var/log/nginx/teamcity*log,/var/log/teamcity*log,/var/log/teamcity/*log
[chef]
paths=/var/log/chef-server/*/*,/var/log/opscode/*chef/*,/var/log/chef*
[munin]
paths=/var/log/munin/*
[aerospike]
paths=/var/log/aerospike/*
[sphinx]
paths=/var/log/sphinxsearch/*
configs=/etc/sphinx*conf,/etc/sphinx/*.conf
keywords=log,query_log
[uwsgi]
paths=/var/log/uwsgi/*
[newrelic]
paths=/var/log/newrelic/*
[haproxy]
paths=/var/log/haproxy/*,/var/log/haproxy*
[simpana]
paths=/var/log/simpana/*
[icinga]
paths=/var/log/icinga/*
[libvirt]
paths=/var/log/libvirt/*
[solr]
paths=/var/log/solr/*,/var/log/solr/*/*
[tomcat]
paths=/var/log/tomcat/catalina*,/var/log/tomcat*/catalina*,/var/log/catalina*
configs=/usr/share/tomcat/conf/logging.properties,/usr/share/tomcat*/conf/logging.properties,/etc/tomcat/*,/etc/tomcat*,/etc/tomcat*/*
keywords=log4j.appender.R.File
[oracle]
paths=/var/cacao/instances/oem-ec/logs/,/var/opt/sun/cacao/instances/oem-ec/logs,/var/cacao/instances/scn-proxy/logs/cacao*,/var/opt/sun/cacao/instances/scn-proxy/logs/cacao*,/usr/local/uce/server/logs/audit.log,/usr/local/uce/server/logs/error.log,/usr/local/uce/server/logs/job.log,var/opt/sun/xvm/logs/virtimagelib.log,/var/opt/sun/xvm/logs/db/mgmt/logs/db.log,/var/opt/sun/xvm/logs/db/reports/logs/db.log,/var/opt/sun/xvm/proxydb/*,/var/opt/sun/xvm/agentdb/*,/var/cacao/instances/default/logs/cacao,/var/opt/sun/cacao/instances/scn-proxy/logs/cacao*
[cassandra]
paths=/var/log/cassandra/*,/var/log/cassandra*,/var/log/cassandra/*/*
[hbase]
paths=/var/log/hbase/*,/usr/lib/hbase/*/logs/hbase*
[hadoop]
paths=/usr/local/hadoop/bin/logs/*,/usr/local/hadoop/bin/*/logs/*,/var/log/hadoop/*,/var/log/hadoop-*/*
[voltdb]
paths=/var/voltdb/logs/*,/var/voltdb/log/*,/var/log/voltdb/*,/home/*/.voltdb/logs/*,/home/*/.voltadmin/logs/*,/home/*/.voltdb_server/logs/*,/root/.voltdb/logs/*,/root/.voltadmin/logs/*,/root/.voltdb_server/logs/*
psname=voltdb
psoptions=--logfile=
[unix]
paths=/var/log/kern.log,/var/log/dmesg,/var/log/boot.log,/var/log/auth.log,/var/log/btmp,/var/log/alternatives.log,/var/log/sudolog,/var/log/cron,/var/log/daemon.log,/var/log/lastlog,/var/log/user.log,/var/log/Xorg*.log,/var/log/cups,/var/log/cups/*,/var/log/anaconda.log,,/var/log/faillog,/var/log/bootstrap.log,/var/log/fontconfig.log,/var/log/jockey.log,/var/log/kern.log,/var/log/lpr.log,/var/log/dbconfig-common/*,/var/log/apt/*.log,/var/log/xferlog,/var/log/up2date,/var/log/ssd/*,/var/log/vsftpd.log,/var/log/audit/*log
[syslog]
paths=/var/log/syslog/,/var/log/system.log,/var/log/messages,/var/log/secure,/var/log/rsyslog
[stress]
paths=/tmp/logpacker-stress*
[plesk]
paths=/var/log/plesk/*log
[tarantool]
paths=/var/log/tarantool/*log
[splunk]
paths=/var/log/splunk/*log
[cpanel]
paths=/usr/local/cpanel/logs/*
[rethinkdb]
paths=/var/lib/rethinkdb/*/data/log*,/var/lib/rethinkdb/*/data/*log
; https://clickhouse.yandex/tutorial.html
[clickhouse]
paths=/var/log/clickhouse-server/*
configs=/etc/clickhouse-server/config.xml
keywords=<log>,<errorlog>,</log>,</errorlog>
; https://prestodb.io/presto-admin/presto-admin-commands.html
[prestodb]
paths=/var/log/presto/*.log,/var/log/prestoadmin/*.log
[zookeeper]
paths=/var/log/zookeeper/*.log
[grafana]
paths=/var/log/grafana/*.log
[kairosdb]
paths=/opt/kairosdb/log/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment