Splunk Search

hidden search result in text format

smolcj
Builder

HI,
i know that we can display the output of hidden search in chart or table format. but i want it in text format. my search query is like this

HiddenSearch:

 <module name="HiddenSearch" layoutPanel="panel_row3_col1" autoRun="True">
    <param name="search">
    index=main source=sourcefilename|top PC_field|fields PC_field
    </param>
 </module>

I dont want the result in flashchart or so

SimpleResultHeader:

results

<!-- result of the search: i.e. value in PC_field -->
Result=$search.value$


like this is appreciable
Thanks for your time and efforts

Tags (2)
1 Solution

Ayn
Legend

I would look into the SingleValue module for this.

View solution in original post

Ayn
Legend

I would look into the SingleValue module for this.

smolcj
Builder

Ya it worked with Single value module.
thank you.

0 Karma
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, ...