Splunk Enterprise

Why is 'collect' not adding to a summary index on a search head cluster?

splunkto
Explorer

I have a query where at the end I specify "| collect index=foo sourcetype=bar" and the results go into that index on a standalone search head. When I do the same on the cluster, it does not go to the index. Additionally the search head complains that it received an event for an unconfigured/disabled/deleted index=foo like it is attempting to write the data locally.

What do I need to do to the search head cluster so it targets the indexers when writing summary indexes instead of locally?

Tags (1)
0 Karma
1 Solution

lguinn2
Legend

On a search head cluster, summary data must be forwarder to the indexer tier. This is a best practice for all search heads, but required for clustered search heads.

Here is a link to the documentation - Best practice: Forward search head data to the indexer layer

Create the summary index on each indexer, and follow the documentation directions to make each search head forward to the indexer tier.

View solution in original post

lguinn2
Legend

On a search head cluster, summary data must be forwarder to the indexer tier. This is a best practice for all search heads, but required for clustered search heads.

Here is a link to the documentation - Best practice: Forward search head data to the indexer layer

Create the summary index on each indexer, and follow the documentation directions to make each search head forward to the indexer tier.

splunkto
Explorer

I just found this right before you posted.

The following is what I was missing on the cluster:
[indexAndForward]
index = false

After that it seems to add to the summary index properly now.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...