Deployment Architecture

Summary Index - Index time vs Search Time extraction

namrithadeepak
Path Finder

Hi,

I have to use a couple of extracted fields in my summary index.

I have the necessary regex.

Do I have to make the changes on the indexers or the search heads? Which one do you suggest?

Thanks!

Tags (1)
0 Karma

woodcock
Esteemed Legend

If all of your searches on this data should have these fields extracted, then use props.conf like this:

[YourSourceTypeHere]
EXTRACT-SourceTypeFields = ...

If you just need it for this search, then use rex in the search SPL:

https://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Rex

0 Karma

micahkemp
Champion

You probably want to add a stanza in your props.conf (on your search head) that matches the 'source' (which is the name of the savedsearch that created the summary data). The 'sourcetype' of summary indexed data is 'stash' by default, and I believe it is advised not to attempt to change this.

props.conf:

[source::<savedsearch_name>]
EXTRACT-
REPORT-
...
0 Karma

somesoni2
Revered Legend

You need to add the search time field extractions on the search head(s) where that summary index search is running.

0 Karma

adonio
Ultra Champion

can you elaborate? what is the search that populates the summary index?
i think its best to populate (send data to) summary index with data that is already in a table format / has field-values already defined

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...