Dashboards & Visualizations

Create dashboard using advanced xml

namritha
Path Finder

Hi,

I have access to just splunk web, and can edit simple xml, but only view the code for advanced xml by appending 'dashboard_name/?showsource=advanced' at the end of the URL.

I have made some changes in the advanced xml and need to apply them to the dashboard.

I do not have access to the below directories, nor do I know where they are located.

$SPLUNK_HOME/etc/apps//local/data/ui/views/

$SPLUNK_HOME/etc/apps//default/data/ui/views/

Is there any way I will be able to save the changes I have made to the advanced xml?

Thanks in advance

0 Karma

ChrisG
Splunk Employee
Splunk Employee

If you are using Splunk Cloud, you won't be able to do that yourself. You could file a ticket and work with Support to get your changes in place. What are you trying to do that requires advanced XML instead of simple XML?

namritha
Path Finder

Thankyou for the response Chris.

I need to overlay two values in one chart with a common X axis and a Y axis on either side

chart 1 - Area chart: No. of requests per server (X axis - server, Y axis on left side - no. of requests)
chart 2 - Area chart : Average Response time per server (X axis - server, Y axis on right side - average response time)

Please refer to https://answers.splunk.com/answers/452756/why-is-my-chart-overlay-not-working.html to view the code I am using and detailed information.

In the link above, I have mentioned chart 2 as line chart, but my requirements have changed now and I need them both to be area charts.

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Which Splunk version you're working on? If Splunk 6.x, then do you see and Edit button (kinda dropdown) -> Edit source option on the top right corner of the dashboard?

namritha
Path Finder

Thankyou somesoni2. Edit source gives us the option to edit the simple xml, I need to edit the code for advanced xml as I have made changes to <modules>

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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...