Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. input {
  2. elasticsearch {
  3. hosts => "es-analytics-int.sandbox.aws.gilbarco.com"
  4. index => "logstash-event-*"
  5. # Set date range to cover what you are trying to export/import
  6. query => '{"query":{"range":{"timestamp":{"gte":"2017-03-01T00:00:00.000Z","lte":"2017-03-10T00:00:00.000Z"}}}}'
  7. }
  8. }
  9.  
  10.  
  11. filter {
  12. mutate {
  13. convert => [ "organizationId ", "string" ]
  14. remove_field => [ "@timestamp" ]
  15. remove_field => [ "@version" ]
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement