Here is my config file:
Here is the error:
Line 25, missing quote and comma
mutate { convert => [ "Unit_cost", "float"] } }
It's less code if you follow the documentation:
mutate {
convert => {
"Units_sold" => "integer"
"Unit_price" => "float"
"Unit_cost" => "float"
"Total_revenue" => "float"
"Total_cost" => "float"
"Total_profit" => "float"
}
}
Also you can convert fields directly in the csv plugin
Thanks so so much fella, I couldn't see it for gods sake...
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.