Getting Data In

Single Search Head and Indexer Configuration Help

qazwsxedc994
Explorer

I am looking to configure a single search head and indexer for testing purposes, however i cant seem to find any clear documentation to help me as everything seems to be related to clusters. How do i go about configuring single instances? What do i use a master_uri?

0 Karma

laserval
Communicator

What you're looking for is covered mostly in the Distributed Search documentation: http://docs.splunk.com/Documentation/Splunk/latest/DistSearch/Overviewofconfiguration

Here's a setup with a single search head and a single indexer:

  1. Install Splunk on each machine
  2. Indexer: Enable receiving
  3. Search Head: Enable forwarding of all data (http://docs.splunk.com/Documentation/Splunk/latest/DistSearch/Forwardsearchheaddata)
  4. Search Head: Add the indexer as a search peer (http://docs.splunk.com/Documentation/Splunk/latest/DistSearch/Configuredistributedsearch)
  5. Indexer: Configure as license slave to the Search Head (http://docs.splunk.com/Documentation/Splunk/latest/Admin/Configurealicenseslave)

You can also disable the ui on the indexer, to make sure that you always search from the search head.

I also like setting up the search head as a deployment server, that deploys the configuration for the indexer. That way you get a single machine to find all the configuration on.

Note that you will have to create indexes on the indexer, not via the search head UI. There is more info in the documentation on distributed search and what it means for administration of Splunk.

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 ...