How to run logstash conf continuously

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.

is there any option like schedule to run that process continuously?

I don't believe there is, no.

There isn't a way to do this at the moment.

Please follow https://github.com/logstash-plugins/logstash-input-elasticsearch/issues/65 though!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.