Getting Data In

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

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

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

Explorer

Thanks Kristian....

0 Karma

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
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!