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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...