Splunk Search

Where do search time extractions happen?

atulpatel
Explorer

I'm wondering where do search time extractions happen on search head or on indexer as we keep props and transforms on the search head.

1 Solution

VatsalJagani
SplunkTrust
SplunkTrust

Hello @atulpatel,

Search time extractions happen on the indexer. But we keep props.conf and transforms.conf on the search head right? Answer is Knowledge Bundle. props.conf and transforms.conf is part of the knowledge bundle and Search head regularly sends the knowledge bundle to the indexer.
Please read more here - https://docs.splunk.com/Documentation/Splunk/7.2.6/DistSearch/Whatsearchheadssend

View solution in original post

VatsalJagani
SplunkTrust
SplunkTrust

Hello @atulpatel,

Search time extractions happen on the indexer. But we keep props.conf and transforms.conf on the search head right? Answer is Knowledge Bundle. props.conf and transforms.conf is part of the knowledge bundle and Search head regularly sends the knowledge bundle to the indexer.
Please read more here - https://docs.splunk.com/Documentation/Splunk/7.2.6/DistSearch/Whatsearchheadssend

atulpatel
Explorer

Do search head replicate the knowledge bundle?

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

Yes, If standalone search, if it is SHC then captain node replicates knowledge bundle to cluster.

DavidHourani
Super Champion

Hi @atulpatel,

First thing to note is that the search head sends a knowledge bundle to the indexers containing most of your configuration files, so even though you have your props.conf and transforms.conf on your SH, this will get pushed down to the indexers. You can read more about it here:
https://docs.splunk.com/Documentation/Splunk/7.3.0/DistSearch/Whatsearchheadssend#What_the_knowledge...

Second is your original question "where do search time extractions happen", the answer to that is it depends. If you're running and search like this in verbose :

index=test sourcetype=abc

Then the extraction happens on the indexers and is sent to the search heads.
If you're running a search like this one :

  index=test sourcetype=abc | stats count by _raw | rex field=_raw "youRegularExpressionHere"

This rex happens on the search head as the data is already there and the extraction is happening on the fetched data.

So it all really depends on what time the extractions are happening in your search.

Cheers,
David

Get Updates on the Splunk Community!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...