Hello
i'm using the logstash elasticsearch plugin input, but i find out that logstash stops. I wish to keep logstash tour to retrieve new events coming from elasticsearch.
My configuration:
input {
elasticsearch {
hosts => "localhost:9200"
index => "webmethodsmediator"
query => '{ "query": { "match": { "eventType": "TransactionalEvents" } }}'
scroll => "3600"
}
}
filter {
date {
match => [ "creationDate", "UNIX_MS","UNIX" ]
timezone => "UTC+1"
target => "metricDate"
}
}
output {
stdout { codec => rubydebug }
elasticsearch {
hosts => "localhost:9200"
index => "selfservice-metrics"
}
}
Can you tell me how?
Thank you
Ismael