All Apps and Add-ons

mongoDB replica set configuration

New Member

Hi all,

can i use Hunk App for MongoDB” to connect to mongoDB replica set? How?

Thank you


0 Karma


Yes, but the JDBC connection string is different for replica sets.

Try using the format described here:

An upvote would be appreciated and Accept Solution if it helps!
0 Karma

New Member

I'm sorry, but I don't understand.

Does Hunk App for Mongo DB can be configured with "custom" jdbc url?

On the Splunk add-on I have the following:

Specifying MongoDB Provider
Once you have uploaded the app using 'Manage App' menu, a new app named 'MongoDB App' will be added in your list of installed apps. You need to specify the required MongoDB host details using 'Edit Provider' feature available under Virtual Indexes which can be found in Settings tab.
MongoDB Host details
MongoDB host details can be provided using '' property. Please note that this property can also be set in 'indexes.conf'.
eg. = localhost:27017

Could I use somenting like " = 1localhost:27017/TeamRoster?AuthMechanism=SCRAM-SHA-1&LoadMetadataTable=true&ReplicaSet=TestSet" in your opinion?


0 Karma
Get Updates on the Splunk Community!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

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