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)

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...