Splunk Search

How does the Splunk internal search functionality work?

nsanchezfernand
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

s2_splunk
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.

nsanchezfernand
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

s2_splunk
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.

nsanchezfernand
Path Finder

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

0 Karma

gjanders
SplunkTrust
SplunkTrust
0 Karma

s2_splunk
Splunk Employee
Splunk Employee

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

lloydknight
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!

nsanchezfernand
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
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!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...