I get an error at line 1 column one but I don't know what's happening.
I already tried some things I found in other posts:
- Changing from utf-8 to utf-8 BOM to ANSI
- Changing to Linux LF and
- Windows CRLF retyping the whole file
- I have checked in notepad++ (view -> show all characters) that there arent any other symbols
- I even tried copying the example that logstash gives of a pipelines.yml
This is the pipelines.yml that Im using
-pipeline.id: KafkaES-process
queue.type:persisted
config.string: |
input{ kafka{
bootstrap_servers => "localhost:9092"
topics => ["topic_es"]
}
}
filter{
json{
source=> "message"
}
mutate{
remove_field => "message"
}
}
output{
elasticsearch{
hosts => ["localhost:9200"]
index => "houses_index"
}
}
This is how I call it
C:/Users/user/Downloads/logstash-7.15.2/bin/logstash -f pipelines.yml
Any ideas/questions are welcomed.