Skip to content

How to terminate the collector after whole file is harvested? #11648

Answered by dmathieu
graywolf-s1 asked this question in Q&A
Discussion options

You must be logged in to vote

The collector isn't meant to run as a one-off process. So it can't do that.
You can start the process, and send a SIGTERM signal after a few seconds, that should let the collector finish handling the file, and stop as it handles the signal.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@graywolf-s1
Comment options

Answer selected by dmathieu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants