- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Creating Summary Index based on logic
Kirthika
Path Finder
06-16-2023
10:53 AM
I have 3 panels. Each panels have the same query except 2nd line which contains patterns.
Eg. index="index_name" source="input.txt"
some regex pattern line ( only this line will be different in all three panels)
table id Action
All remaining lines will be same in all three panels.
How to create one summary index and implement as base search for all three panels
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VatsalJagani

SplunkTrust
06-16-2023
11:34 AM
@Kirthika - Few questions:
- Why do you need a summary index?
- Are you looking to do this for the dashboard, right?
- You need to explain the second line, and what it has in order to give you some suggestion.
- Like, regex is _raw based, or any specific field.
- Maybe give your existing searches to understand more. (You can mask the critical values before copy-pasting on the community.)
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
06-16-2023
11:30 AM
Why do you want a summary index, just use a base search?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kirthika
Path Finder
06-16-2023
11:32 AM
Thanks. But didn't get idea how to implement base search when only second line changes
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
06-16-2023
11:36 AM
Your base search would have the first line. Your panel searches would have the second lines followed by the common lines. You could put these in a macro if you want them all to use the same code.
