Skip to content

Instantly share code, notes, and snippets.

@logpacker
logpacker / logpacker_daemon.conf
Created August 18, 2016 02:43
logpacker_daemon.conf
[program:logpacker_daemon]
directory=/opt/logpacker
command=/opt/logpacker/logpacker_daemon -a -v
autostart=true
autorestart=true
startretries=10
stdout_logfile=/tmp/lpdaemon-stdout.log
stderr_logfile=/tmp/lpdaemon-stderr.log
@logpacker
logpacker / win.services.ini
Last active May 27, 2016 05:50
win.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 and services
; All services provided in this config, but not all services can be included to Agent, they can be disabled in Agent configuration
; Environment variables are allowed and must be in uppercase wrapped by %%
[iis]
; Possible comma-separated logs locations and %environment.variables%
paths=%SYSTEMROOT%\System32\LogFiles\HTTPERR\*,%systemdrive%\inetpub\logs\LogFiles\*,%SYSTEMROOT%\System32\LogFiles\W3SVC1\*
@logpacker
logpacker / win.agent.ini
Last active May 27, 2016 05:50
win.agent.ini
[Agent]
; Configuration for Windows Agent
; Keys. Only one is necessary depends on Agent type (standalone or cloud)
keys.license=
keys.cloud=
; networkapi - networkAPI node. Agent must have only one
; Agent can retrieve all Cluster info from one endpoint only
networkapi=127.0.0.1:9999
@logpacker
logpacker / logpackerwin_daemon.ini
Last active May 27, 2016 05:49
logpackerwin_daemon.ini
[logpackerwin]
startup=C:\"Program Files"\LogPacker\logpackerwin.exe -v -c C:\"Program Files"\LogPacker\configs\ -l C:\"Program Files"\LogPacker\daemon.log
@logpacker
logpacker / logpacker_daemon.conf
Created May 17, 2016 09:26
logpacker_daemon.conf
[program:logpacker_daemon]
directory=/opt/logpacker
command=/opt/logpacker/logpacker_daemon -a -s
autostart=true
autorestart=true
startretries=10
stdout_logfile=/tmp/lpdaemon-stdout.log
stderr_logfile=/tmp/lpdaemon-stderr.log
@logpacker
logpacker / logpacker_api.conf
Created May 17, 2016 09:25
logpacker_api.conf
[program:logpacker_api]
directory=/opt/logpacker
command=/opt/logpacker/logpacker_api
autostart=true
autorestart=true
startretries=10
stdout_logfile=/tmp/lpapi-stdout.log
stderr_logfile=/tmp/lpapi-stderr.log
@logpacker
logpacker / agent.ini
Last active June 23, 2016 09:41
agent.ini
; Configuration for Agent. Server doesn't need this file
; networkapi - networkAPI node. Agent must have only one
; Agent can retrieve all Cluster info from one endpoint only
networkapi=127.0.0.1:9999
; services - comma-separated list of services defined in services.ini
services=*
; security can be set to 1 and Agent will remove sensitive data from logs
security=0
; securityreplace - string for replacement
@logpacker
logpacker / services.ini
Last active July 22, 2016 09:21
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
@logpacker
logpacker / api.ini
Created March 7, 2016 05:12
api.ini
; REST API configuration
; provider tells where data from LogPacker Server is stored
; Provider settings are located in server.ini file
provider=elasticsearch
; Providers to use if main provider is down
failover.providers=
; REST API host
host=127.0.0.1
; REST API port
port=9998
@logpacker
logpacker / server.ini
Last active July 26, 2016 10:58
server.ini
; Server configuration. Agent doesn't need this config
; Also this config is used by REST API to find a proper connection to the Storage
; TCP server. Also it is a NetworkAPI endpoint, NetworkInfo will be returned by this endpoint if "cluster" string is sent
host=127.0.0.1
port=9999
; Comma-separated list of nodes in the cluster (no need to put current server here)
;cluster.nodes=