Hi,
What can be the reason that each line of log file is split into single document in Elastic?
That's how Logstash is configured:
input {
file {
type => "log"
path => ["/etc/logstash/conf.d/files/*.log"]
sincedb_path => "/etc/logstash/conf.d/sincedb.log" }
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
hosts => ["https://<hostname>:9200"]
index => "failure-logs"
user => "elastic"
password => "****"
ssl => true
cacert => "/etc/logstash/conf.d/ca.crt"
}
}
In Elastic each line is populated into different document.
Thanks