Dashboards & Visualizations

Change displayed value on Single Value chart

JoshuaJohn
Contributor

Kind of a weird question but I have a Single Value panel that currently displays the (Search Area value "CCS") I still want it to display CCS but I want it to say EMAIL. So visually I want the words changed but the search behind it working the same, how would I go about doing this? I included the XML of my panel because I feel like it may not be completely related to search alone.

I tried using rename "CCS" AS "EMAIL" BY "CCS", but that did not work.

<panel>
  <title>CCS/Email</title>
  <single>
    <title>Status:</title>
    <search>
      <query>|status.csv  | search Area="CCS"|eval value=case(Severity="low",1,Severity="severe",3,Severity="elevated",2) | sort by - value | head 1|rangemap field=value severe=3-3 elevated=2-2 low=1-1</query>
      <earliest>0</earliest>
      <latest></latest>
    </search>
    <option name="drilldown">none</option>
  </single>
</panel>

I don't know if this is actually possible, but if it is would be interested! Still very new to Splunk!

0 Karma
1 Solution

Raschko
Communicator

Do you mean this?

   your search | eval Area="Email"

View solution in original post

0 Karma

Raschko
Communicator

Do you mean this?

   your search | eval Area="Email"
0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...