# Collect logs from shibboleth sp outside stdout

**URL:** <https://discuss.elastic.co/t/collect-logs-from-shibboleth-sp-outside-stdout/229908>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 27, 2020, 6:33am UTC](https://discuss.elastic.co/t/collect-logs-from-shibboleth-sp-outside-stdout/229908 "2020-04-27T06:33:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bopedibop](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@bopedibop](https://discuss.elastic.co/u/bopedibop)\
**Post date:** [April 27, 2020, 6:33am UTC](https://discuss.elastic.co/t/collect-logs-from-shibboleth-sp-outside-stdout/229908/1 "2020-04-27T06:33:00Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [April 27, 2020, 2:47pm UTC](https://discuss.elastic.co/t/collect-logs-from-shibboleth-sp-outside-stdout/229908/2 "2020-04-27T14:47:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bopedibop](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@bopedibop](https://discuss.elastic.co/u/bopedibop)\
**Post date:** [April 27, 2020, 3:07pm UTC](https://discuss.elastic.co/t/collect-logs-from-shibboleth-sp-outside-stdout/229908/3 "2020-04-27T15:07:48Z")

</div>

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](mailto:elastic@discoursemail.com) skrev:

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 25, 2020, 3:07pm UTC](https://discuss.elastic.co/t/collect-logs-from-shibboleth-sp-outside-stdout/229908/4 "2020-05-25T15:07:56Z")

</div>

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