Getting Data In

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

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

1 Solution

richgalloway
SplunkTrust
SplunkTrust

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

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

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

---
If this reply helps you, Karma would be appreciated.

behudelson
Path Finder

Thanks Rich.

0 Karma

behudelson
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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...