Ad Widget

Collapse

Getting container logs?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • loglevel0
    Junior Member
    • May 2025
    • 1

    #1

    Getting container logs?

    Hi all,
    I'm a first time user and I analogise in advance for any shortcomings in my understanding on my side.

    The setup:
    Linux Zabbix server running in a container
    Linux host which I want to monitor. It's running several containers. It's also running Zabbix proxy (in a container) and Zabbix agent (in passive configuration).
    The zabbix agent2 docker template is running and I'm getting metrics from all containers in the dashboard.

    Goal:
    I'd like to collect container logs, also. I'm able to monitor "normal" log files such as /var/log/syslog, but I haven't found an item key for container logs. How should I go about that?
Working...