Splunk Cloud Platform

Creating Summary Index based on logic

Kirthika
Path Finder

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

 

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@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.)

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Why do you want a summary index, just use a base search?

0 Karma

Kirthika
Path Finder

Thanks. But didn't get idea how to implement base search when only second line changes

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

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.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...