Hi, someone know how to load audit.log of linux in Logstash ?
I try use this but not work:
input {
file {
path => ["/var/log/audit/audit.log"]
type => "auditd"
start_position => beginning
}
}
filter {
}
output
{
elasticsearch {
action => "index"
user => "elastic"
password => "system"
hosts => ["127.0.0.1"]
document_type => "auditd-%{type}-%{+YYYY.MM.dd}"
index => "auditd"
}
}
I need something to transform = in : and load