Knowledge Management

The summary index exists, but why is the collect command not populating it with any data?

manisha_maxonic
New Member

Hello Team,

I am using the search below:

index="existing_index" |fields field1,field2| collect index="new_index"

I already verified that index is present. The search above shows a result when I run it on the search head, but when I use:

index="new_index"

to find a record in new_index, then data is not available. Please suggest the solution.

0 Karma

TiagoTLD1
Communicator

Does Splunk know that "new_index" is a summary index?

Create a saved search with that search and enable summary indexing

collect
Description
Adds the results of a search to a summary index that you specify. You must create the summary index before you invoke the collect command.

0 Karma

lguinn2
Legend

Which user is actually running the search? Does that user have permission to see this index? Check the role.

0 Karma

manisha_maxonic
New Member

I am working on it from admin user and command was running properly from same user till last week. don't know what is wrong now.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...