# Monitoring logs from both inside the container and ELK

**URL:** <https://discuss.elastic.co/t/monitoring-logs-from-both-inside-the-container-and-elk/254772>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [November 9, 2020, 2:49pm UTC](https://discuss.elastic.co/t/monitoring-logs-from-both-inside-the-container-and-elk/254772 "2020-11-09T14:49:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nyquillus](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@nyquillus](https://discuss.elastic.co/u/nyquillus)\
**Post date:** [November 9, 2020, 2:49pm UTC](https://discuss.elastic.co/t/monitoring-logs-from-both-inside-the-container-and-elk/254772/1 "2020-11-09T14:49:58Z")

</div>

Hi, i have recently added a gelf input option to my elastic stack for docker container log monitoring. When i do this i can monitor logs from elk just fine but can't see them from inside the container. Is there a way to do both? Is it a gelf issue? Is it doable at all? If yes what driver i need to use?

Thanks in advance.

---

<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:** [December 7, 2020, 2:50pm UTC](https://discuss.elastic.co/t/monitoring-logs-from-both-inside-the-container-and-elk/254772/2 "2020-12-07T14:50:01Z")

</div>

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