Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input{
- file{
- path => "/Users/apple/Desktop/master.csv"
- start_position =>"beginning"
- sincedb_path= "/dev/null"
- }
- }
- filter{
- csv{
- separator => ","
- columns => {"Category", "Sub category", "Sub Sub Category", "Products", "Measure", "Price",
- "Description", "Gst"}
- }
- mutate{convert => ["Price", "float"] }
- mutate{convert => ["Gst", "float"] }
- }
- output{
- elasticsearch{
- hosts = "https://0acd1a298ea34dc1a28a974a302f2a7f.europe-west1.gcp.cloud.es.io:9243"
- username = "elastic"
- password = "**********"
- index => "masterdb"
- document_type => "product"
- }
- }
- Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of #
Add Comment
Please, Sign In to add comment