Hi....all
Here i am trying to push elasticsearch data into RabbitMq
here is my conf
input {
elasticsearch {
hosts => "192.168.1.23:9200"
index => "task-*"
query => '{ "query":{ "match_all": {} }, "sort": [ "_doc" ] }'
size => 1000
scroll => "5m"
type => "ela"
}
}
output{
rabbitmq {
key => "alerts_elk2"
exchange => "ncoms_elk2"
exchange_type => "direct"
user => "admin"
password => "rabbit@123"
host => "192.168.1.23"
port => 5672
durable => true
persistent => true
heartbeat => "5"
}
}
challenge is
when i run above conf file its running properly for once and then after this process is getting terminated
but i want that process not to terminate
is there any option like schedule to run that process continuously?
Thank you.