Splunk Search

Setting tokens for values from search results

szabados
Communicator

I want to present results from my search in a dashboard. I don't want to make the search itself visible, just assing values from it to tokens, ad present them with my javascript. My search will calculate some statistics, so I wan't to have values from it, like e.g. mysearch.count, mysearch.sum.

What's the easiest way to achieve this ?

Tags (3)
0 Karma

jkat54
SplunkTrust
SplunkTrust

Try jobs.js from the javascript SDK

http://dev.splunk.com/view/javascript-sdk/SP-CAAAEDA

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...