Getting Data In

How to disable indexing on search head cluster members?

rajeev_ku
Path Finder

Hi,

I recently deployed a search head cluster and indexer cluster and integrated.
How I can disable indexing on search head cluster members? Is there any workaround without making an entry in outputs.conf?

Thanks
Rajeev

1 Solution

renjith_nair
SplunkTrust
SplunkTrust

You can disable indexing and forward the data to indexers from search head.

Please refer : https://docs.splunk.com/Documentation/Splunk/6.4.2/Admin/Outputsconf#IndexAndForward_Processor-----

[indexAndForward]
index = [true|false]
* If set to true, data is indexed.
* If set to false, data is not indexed.
* Default depends on whether the Splunk instance is configured as a
  forwarder, modified by any value configured for the indexAndForward
  attribute in [tcpout].
Happy Splunking!

View solution in original post

Masa
Splunk Employee
Splunk Employee

Curious.
What is a use case you want to avoid making use of outputs.conf to forwarding SHC logs?

0 Karma

rajeev_ku
Path Finder

I don't want to index data from SHC neither on SH nor on other Indexers. I will monitor SHC from other monitoring tools.

0 Karma

renjith_nair
SplunkTrust
SplunkTrust

Even though you don't want any monitoring data, it's highly suggested to forward the internal logs at least since it contain a lot of metrics which will help you in troubleshooting

Happy Splunking!
0 Karma

Masa
Splunk Employee
Splunk Employee

Agree with renjith.nair for a good practice.
Monitoring SH by other monitoring tool is most likely different from keeping logs of splunk instance for logging behavior of Splunk instance including splunkweb, kvstore, splunkd etc. So, you cannot really monitor Splunk SH in SHC making use of DMC feature without indexing such logs. You cannot create useful correlation searches etc. Anyway, that's an interesting reason.

gcusello
SplunkTrust
SplunkTrust

You can do it also using web interface:
Settings -- Forwarder and Receiving -- Configure Forward

Bye.
Giuseppe

0 Karma

renjith_nair
SplunkTrust
SplunkTrust

You can disable indexing and forward the data to indexers from search head.

Please refer : https://docs.splunk.com/Documentation/Splunk/6.4.2/Admin/Outputsconf#IndexAndForward_Processor-----

[indexAndForward]
index = [true|false]
* If set to true, data is indexed.
* If set to false, data is not indexed.
* Default depends on whether the Splunk instance is configured as a
  forwarder, modified by any value configured for the indexAndForward
  attribute in [tcpout].
Happy Splunking!
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...