How to enable docker applications logs?

Do we need to change anything in our docker file to enable to logs for aikaan?

Hi @siddharthmunot ,

Nothing additional needs to be done by the device to enable docker logs. It is pulled by default.

It could be a controller (AiKaan server) specific configs, that your admin may have disabled, to reduce too much log traffic.

You can have a look at $AIKAAN_INSTALL_DIR/etc/telegraf.conf to see if docker_logs is enabled.

Thanks
C

Hello @chetansk . after installing aikaan agent by default there is no docker_logs flag inside /opt/etc/telegraf.conf

Hi @kishan ,

Can you please confirm? I can see the following line in my /opt/aikaan/etc/telegraf.conf [Please note, in your comment you are referring to /opt/etc/telegraf.conf)

[[inputs.docker_log]]

Thanks
C