How to stop logstash automatically after some time

I am running logstash -f <file.conf> . I want this to be stopped automatically after 5 mins.

Use crontab.

Doesn't sound like a good idea, but here's some rope:

1 Like

Hi.Is there not tag which is supported by logstash to do the same.

Is there not tag which is supported by logstash to do the same.

No.

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