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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...