Guest User

Untitled

a guest
Aug 14th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. input{
  2. file{
  3. path => "/Users/apple/Desktop/master.csv"
  4. start_position =>"beginning"
  5. sincedb_path= "/dev/null"
  6. }
  7. }
  8. filter{
  9. csv{
  10. separator => ","
  11. columns => {"Category", "Sub category", "Sub Sub Category", "Products", "Measure", "Price",
  12. "Description", "Gst"}
  13. }
  14. mutate{convert => ["Price", "float"] }
  15. mutate{convert => ["Gst", "float"] }
  16. }
  17. output{
  18. elasticsearch{
  19. hosts = "https://0acd1a298ea34dc1a28a974a302f2a7f.europe-west1.gcp.cloud.es.io:9243"
  20. username = "elastic"
  21. password = "**********"
  22. index => "masterdb"
  23. document_type => "product"
  24.  
  25. }
  26.  
  27. }
  28.  
  29. 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