I'm loading data from two log-files to elasticsearch. First lines of my logstash-file.conf:
input {
file {
path => ["/LOGS/BBC/current_log.log",
"/LOGS/CSI/current_log.log"]
start_position => "beginning"
}
First ("/LOGS/BBC/current_log.log") is single-line file and loading in elastic whithout errors. Second ("/LOGS/CSI/current_log.log") is multi-line. I want use Multiline codec plugin, but I can't understand - how separate single-line file from multi-line file in input section.