You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
307 B

  1. input {
  2. http {
  3. #default host 0.0.0.0:8080
  4. codec => json
  5. }
  6. }
  7. ## Add your filters / logstash plugins configuration here
  8. filter {
  9. split {
  10. field => "events"
  11. target => "e"
  12. remove_field => "events"
  13. }
  14. }
  15. output {
  16. elasticsearch {
  17. hosts => "elasticsearch:9200"
  18. index=>"eshops-%{+xxxx.ww}"
  19. }
  20. }