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!

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...