While it seems like my config file is right, it still doesn't run properly, accusing it of missing a #
I'm executing this command:
logstash -f C:\Users\CONSISTE\Desktop\logstash\dados\teste.config
message=>"Expected one of #, input, filter, output at line 1, column 1 (byte 1) after ",
my config file:
input {
file {
path => "C:\Users\CONSISTE\Desktop\tabelas_cont\teste_csv.csv"
start_position => "beginning"
sincedb_path => "C:\Users\CONSISTE\Desktop\tabelas_cont\areas.log"
}
}
filter {
csv {
columns => ["id","descricao","id_cli_area","instalacao_id","instancia_id","pagina_id","tipo_id"]
separator => ","
}
}
output {
elasticsearch {
hosts => "http://localhost:9200"
index => "areas"
}
stdout {}
}
I also created a CSV sample, just to check if there was a character coding error, but the same error occurred