21 lines
346 B
Plaintext
21 lines
346 B
Plaintext
|
<source>
|
||
|
@type tail
|
||
|
path /var/log/apt/history.log
|
||
|
pos_file /var/log/td-agent/aptitude.pos
|
||
|
format none
|
||
|
tag aptitude
|
||
|
</source>
|
||
|
|
||
|
<filter aptitude>
|
||
|
@type record_transformer
|
||
|
<record>
|
||
|
hostname ${hostname}
|
||
|
message ${hostname}: ${record["message"]}
|
||
|
</record>
|
||
|
</filter>
|
||
|
|
||
|
<match aptitude>
|
||
|
@type relabel
|
||
|
@label @forward
|
||
|
</match>
|