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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...