Dashboards & Visualizations

How would I display the number of events on a pie chart?

digital_alchemy
Path Finder

I have a dashboard that displays a weekly summary of detected signatures, but I would like to be able to show the number of events per signature on the chart. Is this possible?

Current simple XML:

<?xml version='1.0' encoding='utf-8'?>
<dashboard>
<row>
<chart>
<title>AV Detect Report (7 day)</title>
<searchString> MY_SEARCH </searchString>
<earliestTime>-7d</earliestTime>
<latestTime>now</latestTime>
<option name="charting.chart">pie</option>
</chart>
</row>
</dashboard>

Thanks.

0 Karma
1 Solution

digital_alchemy
Path Finder

So I figured out how to do do this based on a response to another similar question.

my_search | stats count by signature | eval signature_slice = "Events: " + count + ", " + signature | fields signature_slice, count

View solution in original post

digital_alchemy
Path Finder

So I figured out how to do do this based on a response to another similar question.

my_search | stats count by signature | eval signature_slice = "Events: " + count + ", " + signature | fields signature_slice, count

dmaislin_splunk
Splunk Employee
Splunk Employee

You can show the value of the percent such as:

<?xml version='1.0' encoding='utf-8'?>
<dashboard>
    <row>
        <chart>
            <title>AV Detect Report (7 day)</title>
            <searchString> MY_SEARCH </searchString>
           <earliestTime>-7d</earliestTime>
           <latestTime>now</latestTime>
            <option name="charting.chart">pie</option>
            <option name="charting.chart.showPercent">true</option>
        </chart> 
     </row>
</dashboard>

jtrucks
Splunk Employee
Splunk Employee

In Splunk, you can't without using 3rd party libraries and building your own UI for it.

--
Jesse Trucks
Minister of Magic
0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...