All Apps and Add-ons

mongoDB replica set configuration

giorgiovolpini
New Member

Hi all,

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

Thank you

G.

0 Karma

codebuilder
SplunkTrust
SplunkTrust

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

Try using the format described here:
https://www.simba.com/products/MongoDB/doc/JDBC_InstallGuide/content/jdbc/mo/using/connectionurl.htm

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

giorgiovolpini
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 'vix.mongodb.host' property. Please note that this property can also be set in 'indexes.conf'.
eg. vix.mongodb.host = localhost:27017

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

Thanks

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...