Getting Data In

Run indexes on different servers

carljohan
Path Finder

We are planning to have a Splunk setup where we have:

  • 1 server running a Splunk indexer
  • 2 servers per operation from which log files are forwarded by universal indexers

alt text

We are then planing to store each operations index on the operations own server instead of on the Splunk indexer.
All servers are on the same network.

Is this setup doable?

0 Karma

woodcock
Esteemed Legend

The only way to "do" it this way is to somehow have your Forwarders' storage directly accessible by your Indexers which I do not see how you will be able to do it other than if you use NFS and mount to both systems. This means your Forwarders will host the Indexer's write operations only. The other way to make it work is to configure your Forwarders to also be Indexers which I think is a VERY bad idea because the Indexers are the ones that always (eventually) get overloaded with work and slow to a crawl which will adversely impact the job that those servers are (primarily) supposed to be doing. Why are you using such a strange (bad) constraint? Anyway you do this, it is a pretty bad idea and, to quote a splunk T-shirt, you are "looking for trouble".

0 Karma

carljohan
Path Finder

Thank you for your feedback.

The data from the different operations need to be separated due to contractual reasons.
Any suggestion on how we can accomplish that in a less strange (bad) way?

0 Karma

woodcock
Esteemed Legend

See my latest answer regarding Multitenancy.

0 Karma

muebel
SplunkTrust
SplunkTrust

Hi Carljohan, You would not want to necessarily forward the DB logs to the central Splunk Instance. You could have op1 and op2 DBs just index locally, and then set the central Splunk instance up to search each of the DB instances, while still forwarding the app boxes to the central Splunk server. Other than that I can't detect any issue with this setup.

Let me know if this helps 😄

0 Karma

carljohan
Path Finder

Thanks Muebei. But that would require us to do a full Splunk install on the DB servers, not only a universal forwarder. Right?

0 Karma

muebel
SplunkTrust
SplunkTrust

Yup, the universal forwarder doesn't have any local indexing capability, it can only forward events.

0 Karma

aholzer
Motivator

The indexer needs direct access to the location where you are going to store the data. So if you are in a Linux environment, you'd have to mount the drive from the "DB Servers" on your Splunk indexer server(s). Then make sure you define in indexes.conf the correct paths using the mounts.

Hope this helps

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...