Splunk Search

How does the Splunk internal search functionality work?

Path Finder

Hello, Splunkers.

I have been looking for information about how work internally the splunk searchs. Are they be translated to another programming language like phyton?

How is the workflow since you execute a search and splunk returns to you the results?

I need to know deeper how Splunk works.

Thanks and regards.

0 Karma

Splunk Employee
Splunk Employee

Other than being a curious mind, why do you need to know the technical implementation details? What question do you need to answer?

In any case, besides the docs links already provided, you may find this .conf2016 talk of interest. A lot of detail there.

Path Finder

Such a interesting talk!

Really only I need to know if Splunk works internally traducing all to python... I heard this yesterday and I think that it is not right, but I don't find the correct information about this.

Thanks a lot!

0 Karma

Splunk Employee
Splunk Employee

It is not. The vast part of Splunk enterprise core (splunkd) is developed with C/C++. Python is being used for custom search commands any anything else in the are of user customization/modular inputs, etc.

Path Finder

Thanks, @ssievert! You have answered exactly my question 😄

0 Karma

SplunkTrust
SplunkTrust

Or potentially the Splunk 2017 conference talks on Splunk internals...

0 Karma

Splunk Employee
Splunk Employee

Yes! This talk is a great and very detailed discussion on pretty much all aspects of search.

Builder

Hello @nsanchezfernandez,

You may want to read this documentation.
http://docs.splunk.com/Documentation/Splunk/latest/Data/WhatSplunkdoeswithyourdata

Also, check this question below. Your question is nearly similar to this one.
https://answers.splunk.com/answers/154006/where-can-i-find-a-detailed-explanation-on-how-splunk-sear...

Hope it helps.

Thanks!

Path Finder

Thanks, @lloydknight

It's very interesting link to documentation. I have still the doubt if Splunk replaces internally the search string by phyton commands to look for the data in the indexes... But your answer is very useful!

0 Karma