I am running logstash using docker. When I ran my docker-compose up I got this error:
13:31:16.723 [LogStash::Runner] ERROR logstash.agent - Cannot create pipeline {:reason=>"Expected one of #, input, filter, output at line 1, column 1 (byte 1) after "}
When I run this same config file without using docker and using logstash on windows I do not get this error. Here is the part of my config file I believe it is talking about.
input{
file{
path => "/config-dir/data/**/admin_ui*.csv"
start_position => beginning
ignore_older => 0
sincedb_path => "/dev/null"
type => "csv"
}
file{
path => "/config-dir/data/**/alarm[0-9]*.prn"
start_position => beginning
sincedb_path => "/dev/null"
ignore_older => 0
type => "alarmprn"
codec => plain{charset => "ANSI_X3.4-1968"}
}
I am not entirely sure where exactly it is expecting the #.
Thanks!