Splunk Enterprise

What version of Mongo DB version used in Splunk 8.2.5?

vengisa
Loves-to-Learn Lots

We have a requirement to upgrade mongo DB to version 4.2 or later. 

Can you please let me know what's the version of mongo DB used in Splunk 8.2.5. 

If its not 4.2 or later, can you please let me know if mongo DB can be upgraded separately.

Will Splunk have any issues if Mongo DB upgrade is done. 

Labels (2)
0 Karma

amartin6
Path Finder

We upgraded Splunk Enterprise version 9.0.0 from 8.2.5 and it did the upgrade of mongodb as part of the upgrade process, make sure you have enough disk space.  You can also do the upgrade beforehand.  If you are on version 3.6 it will do a hop to 4.0 before the final upgrade to 4.2.  Check the version in use here: splunk show kvstore-status --verbose |grep serverVersion.  It freed up tons of disk space for us after the upgrade, helps a lot if you have large kvstores.

Dipesh
Explorer

I had a similar finding for my splunk environment. 

Looks like the latest version 9.0.1 has an update from Mongo3.6 to 4.2.

Here is the readme. http://docs.splunk.com/Documentation/Splunk/9.0.1/Installation/AboutupgradingREADTHISFIRST

 

- Dipesh

0 Karma

amartin6
Path Finder

I ran this on a vanilla 8.2.5 system:
[splunk~]$ splunk cmd mongod -version
db version v3.6.17-linux-splunk-v4
git version: 226949cc252af265483afbf859b446590b09b098
OpenSSL version: OpenSSL 1.0.2za-fips 24 Aug 2021
allocator: tcmalloc
modules: none
build environment:
distarch: x86_64
target_arch: x86_64
[splunk~]$

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Run $SPLUNK_HOME/bin/mongod --version to get the mongo DB version.

While it might be possible to upgrade the included version of mongo, I strongly advise against it.  We don't know how customized the shipped version is so any upgrade you make may not work (or worse).  Plus, Splunk Support is likely to disavow any such changes.

Consider going to https://ideas.splunk.com to make a case for an updated version of mongo DB.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...