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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...