Reporting

Malformed Saved Search Error when setting up Summary Indexing

lweiss
Explorer

I received an error stating "This saved search cannot perform summary indexing because it has a malformed search." while I was setting up summary indexing through the UI. 

The SPL in my saved search included a lookup and a subsearch to dynamically set the earliest and latest values for the main search.

From what I found researching the error, the issue is related to passing the earliest and latest values back to the main search. It took me a while to solve this so I thought I'd post it here to help anyone else seeing this error.

 

Labels (2)
0 Karma
1 Solution

lweiss
Explorer

Here's the solution I found as an alternative to enabling summary indexing through the UI.

I added a collect command to the end of the query to write the results to the specified summary index so the UI wasn't needed to set up the summary indexing.

The format for the collect command is:

| collect index=<name of target summary index> source=<name of saved search generating the results>

View solution in original post

0 Karma

lweiss
Explorer

Here's the solution I found as an alternative to enabling summary indexing through the UI.

I added a collect command to the end of the query to write the results to the specified summary index so the UI wasn't needed to set up the summary indexing.

The format for the collect command is:

| collect index=<name of target summary index> source=<name of saved search generating the results>

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...