Monitoring Splunk

How to monitor a file inside docker container

ankitarath2011
Path Finder

We have multiple docker containers and there are some logs (created by our application, same log gets updated) inside those containers.

We want to monitor those logs every 5 mins using Splunk UF which is outside the container. Splunk UF will send data to Splunk indexer in another server.

Can you please tell me options to do this.

 

Labels (1)
0 Karma

ankitarath2011
Path Finder

Thank you @kiran_panchavat for your response. However, this may not be useful as we can not install Splunk inside the container. We are not monitoring the container itself or the docker logs. The logs that needs to be monitored are from some applications installed inside the container. As mentioned we have around 5-6 containters.

0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@ankitarath2011 Please have a look 

https://www.splunk.com/en_us/blog/tips-and-tricks/collecting-docker-logs-and-stats-with-splunk.html?... 

https://www.tekstream.com/blog/containerization-and-splunk-how-docker-and-splunk-work-together/ 

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!
0 Karma
Get Updates on the Splunk Community!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...