Quantcast
Channel: Martin Fournier
Viewing all articles
Browse latest Browse all 23

How to run splunk in docker and view tomcat logs

$
0
0

This might be overkill but why not use splunk on your dev PC to see what is going on in your tomcat log

1
 docker run -d -p 8000:8000 -v C:\dev\app\tomcat-7.0.94\logs:/opt/tomcat/logs -e "SPLUNK_START_ARGS=--accept-license" -e "SPLUNK_PASSWORD=password" --name splunk splunk/splunk:latest

The post How to run splunk in docker and view tomcat logs appeared first on Martin Fournier.


Viewing all articles
Browse latest Browse all 23

Trending Articles