Dashboards & Visualizations

Splunk 6 Advanced XML Charting Broken

Parameshwara
Path Finder

charting.axisLabelsY.majorUnit

charting.secondaryAxis.minimumNumber

charting.secondaryAxis.maximumNumber

These worked fine in Splunk 5 on advanced XML views, but stopped working in Splunk 6.

0 Karma
1 Solution

Parameshwara
Path Finder

Upgraded to Splunk 6.03, and it works now. I did not see this listed as a fix. I force my charts to be rendered using JSChart.

My code is:

<module name="HiddenSavedSearch">
     <param name="savedSearch">searchx</param>
     <module name="HiddenChartFormatter">
          <param name="charting.chart">line</param>
          <param name="legend.placement">top</param>
          <param name="charting.secondaryAxis.maximumNumber">1200</param>
          <param name="charting.axisLabelsY.majorUnit">600</param>
          <module name="JSChart">
               <param name="height">150px</param>
               <param name="width">100%</param>
               <param name="enableResize">False</param>
          </module> <!-- End JSChart -->
     </module> <!-- End HiddenChartFormatter -->
</module> <!-- End HiddenSavedSearch -->

View solution in original post

0 Karma

Parameshwara
Path Finder

Upgraded to Splunk 6.03, and it works now. I did not see this listed as a fix. I force my charts to be rendered using JSChart.

My code is:

<module name="HiddenSavedSearch">
     <param name="savedSearch">searchx</param>
     <module name="HiddenChartFormatter">
          <param name="charting.chart">line</param>
          <param name="legend.placement">top</param>
          <param name="charting.secondaryAxis.maximumNumber">1200</param>
          <param name="charting.axisLabelsY.majorUnit">600</param>
          <module name="JSChart">
               <param name="height">150px</param>
               <param name="width">100%</param>
               <param name="enableResize">False</param>
          </module> <!-- End JSChart -->
     </module> <!-- End HiddenChartFormatter -->
</module> <!-- End HiddenSavedSearch -->
0 Karma

Jason
Motivator

Are you sure you were not using the advanced charting options, in Simple XML? (If your XML starts with <dashboard> or <form> you are using Simple XML.)

Flash (necessary for some advanced charting options) is no longer supported in simple XML dashboards.

To make an old dashboard work again in 6.x, I was able to go to [dashboard url]?showsource=1, select "Advanced XML view", copy and paste the advanced XML in the text box at the bottom into a new dashboard. Flash was then activated in this new dashboard.

0 Karma

Parameshwara
Path Finder

It's in advanced XML.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...