summaryrefslogtreecommitdiffstats
path: root/collectors/log2journal/log2journal.d/default.yaml
blob: d41efc4abb251d3c10bd514ef187444fe2990c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pattern: none

filename:
  key: LOG_FILENAME

inject:
  - key: MESSAGE
    value: '${LINE}' # a special variable that resolves to the whole line read from the log

  - key: PRIORITY
    value: 6           # Valid PRIORITIES: 0=emerg, 1=alert, 2=crit, 3=error, 4=warn, 5=notice, 6=info, 7=debug

  - key: SYSLOG_IDENTIFIER
    value: log2journal # the name of the application sending the logs