Knowledge Management

How to access to Mongo KV Store from Mongo client?

dsmc_adv
Path Finder

Hi all,

I'm using icinga to monitor my servers and I would like to use the mongo plugin to monitor the kv store. The problem is that it is password protected and I cannot query with admin privileges. Is the password known?

mcmaster
Communicator

Disclaimer: This is VERY VERY VERY unsupported.

I know this is old but it popped up and, in case other people want to know, I thought I'd share. The mongodb instance used by Splunk for kvstore requires client SSL to authenticate. If you have the mongodb client installed on the syste, you can authenticate as such:

mongo --sslAllowInvalidCertificates --ssl localhost:8191/local --username __system --password $(cat $SPLUNK_HOME/var/lib/splunk/kvstore/mongo/splunk.key)

Get Updates on the Splunk Community!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...