Chef Ideas

We believe that the best way to build software is to do it in close collaboration with the people who use it. We invite you to submit your ideas using the form below. Please be sure to include the problem for which you are solving and the benefits of implementing the idea.

We do our best to implement as many Ideas as we can. Our Product team will evaluate all submitted ideas in a timely manner and will disposition each into one of the following categories: will integrate into the product roadmap, further research is needed, unlikely to implement.

Thanks for collaborating with us!

Host level service status log file

In Chef Automate 2 HA Cluster setup, at each host level, we should have a central log file store the same information currently can be seen by "journalctl -u <chef-automate|hab-sup> -f". Then this log file can be used by many monitoring tool to facilitate the auto alarming as well as support team troubleshooting.

"chef-automate status" does not work when any one of the backend search or pgdb machine was down.

"chef-automate gather-logs" does not most of the logs seen by "journalctl", and yet this command is used by support teams widely during troubleshooting.

  • Guest
  • Aug 10 2022
  • Completed
  • Attach files
  • Ankur Mundhra commented
    9 Jan 07:36am

    Available with Automate 4.4.10.

  • Guest commented
    21 Sep, 2022 04:36pm

    internally, we modified chef-automate Linux systemd service file with extra StandardOutput and StandardError settings. They points to some standard log file location. If someone also uses central log collection tool like Splunk, this can be eassily integrated as a data feed for easier troubleshooting, trend monitoring, etc.

  • Guest commented
    11 Aug, 2022 11:14am

    at least at 4.2.22 level, after I extracted the data collected by "chef-automate gather-logs", it missed:
    * error msg seen inside journalctl log
    * error msg saved inside crash.log

  • Ankur Mundhra commented
    11 Aug, 2022 08:01am

    On your ask of central logging, I will take it up internally for discussion. In the meantime, if you want to explore further, you can find logs at /var/log/journal.

  • Ankur Mundhra commented
    11 Aug, 2022 07:58am

    chef-automate gather-logs command collects log from all machines and creates a .zip file for offline debugging. journalctl is meant for live debugging and doesn't have export functionality.

  • Ankur Mundhra commented
    11 Aug, 2022 07:53am

    chef-automate status should be working from 4.2.47.