Getting Data In

How can two splunk indexers work together without cluster set up???

498773
Explorer

How can two splunk indexers work together, i mean like searching for events as well for reporting
without master, peer architecture

Any ideas please share

Tags (1)
0 Karma

kristian_kolb
Ultra Champion

Say that you have 3 servers, all of them running the full Splunk installation (i.e. not forwarders). You configure two of them to listen for incoming traffic, these will be your 'indexers'. The third will be your 'search head', i.e. where you log in and perform your searches.

From the Manager page on the Search head, you configure the indexers to be your 'search peers'. This means that when you perform a search on the Search head, the query will be sent to the peers, and they return the results to the Search head, where they are presented as graphs, lists, tables etc.

If you work with Splunk Forwarders to get data in, you configure these to loadbalance between the indexers, so that the log data gets evenly distributed across your indexers. Load balancing is the default behaviour of Forwarders - you just need to define more than one destination indexer in your Forwarder configuration.

This is a slightly simplified version of the setup, and it's not that very different compared to clusters. What cluster add is that data is replicated between indexers, so that if one of them goes down, the data is still available. With a non-clustered distributed setup, if an indexer goes offline, the data stored there will be unavailable until it is back up again.

You should probably read up a little on the docs, and this is a good place to start;

http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Whatisdistributedsearch

Hope this helps,

K

498773
Explorer

Thanks Kristian....

0 Karma

kristian_kolb
Ultra Champion

Oh, and you do not need a dedicated search head. If you only have two machines, set them both up as indexers, and from one of them, configure the other to be the search peer.

That way, server1 is a pure indexer, and server2 is search head and indexer. Configure forwarders to loadbalance between the two.

/K

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...