Collect logs from shibboleth sp outside stdout

Hi

I have a container that is not sending logs to stdout, if i try nothing will show up.
So how can I config filebeat to collect logs from another container outside stdout.
Do I have to put the logs on the host and have filebet create a volume
like

/var/log/mylogs:/var/log/:rw

I can have the container do a file logging to a place such as /var/log. (which will be var/log/mylogs) on the host.

What access rights are recommended, on the log folder?

Have you tried the container input of Filebeat? https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-container.html

Yes, shibboleth is sending some of it logs to this. But not all. The rest is sent to logs inside the container as var/logs/shibboleth.
I will try to volume mount it.

Den mån 27 apr. 2020 16:57Noémi Ványi via Discuss the Elastic Stack elastic@discoursemail.com skrev:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.