Dashboards & Visualizations

creating a line graph

appmandan
Path Finder

I am having some problems creating a simple line graph outside of the "Advanced Charting" and "Build Report" features. I'm trying to build a simple trendline that shows # of logs per day over a 14 day period. When I try to create the chart in a dashboard panel, it's giving me a bar graph. How do I change the bar graph to a line graph? Is there a parameter I specify in the search?

Also, if anyone knows of any good basic chart making tutorials, I would appreciate it. A lot of topics and examples I'm finding on here are more complex than I'm looking for.

Tags (1)
0 Karma
1 Solution

_d_
Splunk Employee
Splunk Employee

I am not aware of a search command option that allows to specify a type of graph (line, bar, column etc). However, you can edit the XML of that panel to include an option like this:

<chart>
<option name="charting.chart">line</option>
...
</chart>

Hope this helps.

> please upvote and accept answer if you find it useful - thanks!

View solution in original post

_d_
Splunk Employee
Splunk Employee

I am not aware of a search command option that allows to specify a type of graph (line, bar, column etc). However, you can edit the XML of that panel to include an option like this:

<chart>
<option name="charting.chart">line</option>
...
</chart>

Hope this helps.

> please upvote and accept answer if you find it useful - thanks!

appmandan
Path Finder

Thanks, I figured it was something simple.

Get Updates on the Splunk Community!

.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 ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...