Hi,
I'm currently trying to ingest a CSV file containing blogposts, and I'm getting the error
Exiting: error loading config file: type 'string' is not supported on top level of config, only dictionary or list (source:'datasets/blogs_csv.conf')
This is my config file:
input {
stdin{}
}
filter {
csv {
seperator => ";"
}
dissect {
mapping => {
message => "%{title};%{seo_title};%{url};%{author};%{date};%{category};%{locales};%{content}"
}
}
date {
match => [ "date", "MMMM dd, yyyy" ]
target => "publish_date"
remove_field => ["date"]
}
mutate {
remove_field => ["@version", "path", "host", "message", "tags", "@timestamp"]
}
}
output {
stdout { codec => "dots"}
elasticsearch {
index => "blogs"
document_type => "_doc"
}
}
Anyone have any ideas?
Thanks