master
yaml 15 lines 393 Bytes
Raw
1 pattern: none
2
3 filename:
4 key: LOG_FILENAME
5
6 inject:
7 - key: MESSAGE
8 value: '${LINE}' # a special variable that resolves to the whole line read from the log
9
10 - key: PRIORITY
11 value: 6 # Valid PRIORITIES: 0=emerg, 1=alert, 2=crit, 3=error, 4=warn, 5=notice, 6=info, 7=debug
12
13 - key: SYSLOG_IDENTIFIER
14 value: log2journal # the name of the application sending the logs
15