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
Influencer

@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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...