Skip to content

Instantly share code, notes, and snippets.

LogPacker logpacker

View GitHub Profile
View 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
win.services.ini
View 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
win.agent.ini
View 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
logpackerwin_daemon.ini
View 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
View 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
View 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
View 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
View 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
View 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
View 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=
You can’t perform that action at this time.