Splunk Search

Can we use splunk for keyword scoring like ELK?

si_infrastructu
Observer

Hi

We already use Splunk internally and we would like to know if Splunk could be used in scoring uses cases.

We would like to reproduce the same type of example as the one presented in this following article with ELK.

https://www.compose.com/articles/using-query-string-queries-in-elasticsearch/

We have seen that the score command appears with the Splunk Machine Learning toolkit addition but it seems much more complex.

Would it be possible as in the example to have a classified search (in the example with ELK, a scoring on the title of a movie against keywords)

 

0 Karma

yuanliu
SplunkTrust
SplunkTrust

Per https://www.compose.com/articles/how-scoring-works-in-elasticsearch/ linked from your reference,

Elasticsearch runs Lucene under the hood so by default it uses Lucene's Practical Scoring Function. This is a similarity model based on Term Frequency (tf) and Inverse Document Frequency (idf) that also uses the Vector Space Model (vsm) for multi-term queries.

Splunk doesn't run Lucene under the hood, but you can implement the model in SPL. (Performance probably won't be the same.)

0 Karma
Get Updates on the Splunk Community!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...