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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...