Dashboards & Visualizations

How to show single value decorations with reports embedded inside a dashboard?

changux
Builder

Hi.

I want to show single value decorations with a dashboard that is built with saved searches (reports). I checked the examples of the Dashboard examples app, that suggest:

<searchString>| stats count as value | eval value = 550 | rangemap field=value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none</searchString>

My code is:

<search ref="RPT_search_data_example"></search>

I don't have the searchstring, I have the reference to the saved report.
Also, I modified the base report (RPT_search_data_example) and added the | rangemap ... code but doesn't work. Any suggestion? I knew that change my search tags by searchString is the plan B.

Thanks!

0 Karma
1 Solution

changux
Builder

Finally, the only option was replace the report on the dashboard to a searchstring.

Thanks!

View solution in original post

0 Karma

changux
Builder

Finally, the only option was replace the report on the dashboard to a searchstring.

Thanks!

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Here's a good thread on single value decorations

http://answers.splunk.com/answers/111390/using-single-value-decorations.html

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...