Splunk Search

How does correlate command work?

emaccaferri
Communicator

Hi!

I would like to know how the correlation percentage between fields is obtained and so on.
Is it possible?
I know that I can read the Python script of some commend like X11, but I couldn't find Correlate.

Thank you,
Erica

0 Karma

jtrucks
Splunk Employee
Splunk Employee

The command seems imbedded in the splunkd binary, but the process is a mathematical construct. For some details on how that statistical approach can work, check out the Statistical Models for Co-occurrence Datapaper written by Hofmann and Puzicha in 1998. I am not sure if these methods are employed in that manner or if the command written by Splunk engineers employs other methods.

Also see the correlate command documentation, which is rather sparse to date.

--
Jesse Trucks
Minister of Magic
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...