Getting Data In
Highlighted

How do I keep the Splunk CLI from disappearing in Windows so I can read the output?

Path Finder

Hi I have two Splunk deployments, one running Splunk 7.1.0 on Windows Server 2016 and Splunk 7.1.2 on Windows 10. When I run Splunk from the bin folder, or any Splunk command, I see the Splunk window open, but then it immediately closes. I would like to have the window remain open so I can read the output. Am I running the wrong command to open the CLI? Thank you!

Highlighted

Re: How do I keep the Splunk CLI from disappearing in Windows so I can read the output?

SplunkTrust
SplunkTrust

Try using 'Run as Administrator' to open the command window then run your Splunk commands.

---
If this reply helps you, an upvote would be appreciated.

View solution in original post

Highlighted

Re: How do I keep the Splunk CLI from disappearing in Windows so I can read the output?

Path Finder

Hey Rich, thank you. That worked. If you post this as an answer to the question I am happy to give you credit for solving it.

0 Karma
Highlighted

Re: How do I keep the Splunk CLI from disappearing in Windows so I can read the output?

Path Finder

Thanks Rich.

0 Karma