Dashboards & Visualizations

I have a chart question

gnovak
Builder

Well hello there....

I have been reading about the charting options and I'm still a bit lost on how to change something.

I originally had a single value display that looked like this on a dashboard:

<label>Balance Email Summary - Last 24 Hours</label>
<row>
<single>
  <title>Total Emails To Send For All Registries</title>
  <searchName>balance_email_to_send</searchName>
  <fields>TotalEmailsToSend</fields>
</single>
<single>
  <title>Total Emails Sent To All Registries</title>
  <searchName>balance_email_sent</searchName>
  <fields>TotalEmailsSent</fields>
</single>

I now wanted to take out the single and make it into a chart. The problem is if I do that, the values at the bottom of the chart are not reflecting on the numbers that are present after the search is complete. The numbers only go from 0-100 and I really would need them to go from like 1000 to 2000.

How can you change the numbers at the bottom of the chart?

Tags (1)
0 Karma

gnovak
Builder

advanced xml is here i believe:

  <module name="HiddenSavedSearch" layoutPanel="panel_row1_col1" group="Total Emails To Send For All Registries" autoRun="True">
<param name="savedSearch">balance_email_to_send</param>
<param name="groupLabel">Total Emails To Send For All Registries</param>
<module name="ViewstateAdapter">
  <param name="savedSearch">balance_email_to_send</param>
  <module name="HiddenFieldPicker">
    <param name="fields">TotalEmailsToSend</param>
    <param name="strictMode">True</param>
    <module name="JobProgressIndicator">
      <module name="EnablePreview">
        <param name="enable">True</param>
        <param name="display">False</param>
        <module name="HiddenChartFormatter">
          <param name="charting.chart">bar</param>
          <module name="FlashChart">
            <param name="width">100%</param>
            <param name="height">400</param>
            <module name="ConvertToDrilldownSearch">
              <module name="ViewRedirector">
                <param name="viewTarget">flashtimeline</param>
              </module>
            </module>
          </module>
          <module name="ViewRedirectorLink">
            <param name="viewTarget">flashtimeline</param>
          </module>
        </module>
      </module>
    </module>
  </module>
</module>

0 Karma

gnovak
Builder

The search for "balance_email_to_send" looks like this:

sourcetype="cron_BalanceEmail" (source="asia" OR source="info" OR source="org") starthoursago="24" BalanceEmail sent | rex field=_raw "[BalanceEmail] ?(?[\d]+) of (?[\d]+) of email notification sent." | search TotalEmailsToSend="*" | chart sum(TotalEmailsToSend)

0 Karma

sideview
SplunkTrust
SplunkTrust

Can you add the search that you're using? Also the simplified XML converts to advanced XML under the hood and there's often problems in the conversion -- tacking ?showsource=1 on the URL, scrolling down and copying-and-pasting the advanced XML may reveal where it's gone wrong.

Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...