sumologic-collector-docker icon indicating copy to clipboard operation
sumologic-collector-docker copied to clipboard

Command to check health of sumo container

Open SaikiranDaripelli opened this issue 6 years ago • 1 comments

We faced an issue last week, where one of our sumologic collector container stopped pushing logs, and we had to manually restart the container for it to start pushing again, and since we were only monitoring if sumologic container is running or not, it took us time to realise container is not pushing logs, instead it was running idle. and we lost few hours of log data as we configured only 15m of json-file logging.

2 Questions

  1. is there a command which we can configure in docker health check? so container is restarted if it isn't health/pushing logs actively?
  2. What is the recommended/more reliable approach between using this container or sumologic logging driver plugin?

SaikiranDaripelli avatar May 03 '18 07:05 SaikiranDaripelli

You can set up scheduled search and configure alerts to get notified through email or webhook when you don't have any logs for x amount of time. We are actively working on better solutions around collection observability.

maimaisie avatar Dec 03 '18 19:12 maimaisie