Graylog | Auto heal

Hi,
I noticed a weird issue.
The collectors showing as failing, although the nxlog service is running.

Now, it always says, last seen few seconds and status failing even if i wait for over 1 hr.

If i restart the service, the status will turn to green again.

I am wondering if there is way to automate restart when status shows failing, or
where can i look to sort this issue ?

Thanks,
Navdeep

what collector version did you use? Did you see any entries in the collector logfile?