blob: 5b894882330a72d7c78f07e2311ca6b47b201141 [file] [log] [blame]
input {
file {
path => "/var/log/xdata/xdata.log"
start_position => beginning
}
}
filter {
json{
source => "message"
}
}
output {
elasticsearch {
index => xdata
host => localhost
}
stdout { codec => rubydebug }
}