All Apps and Add-ons

R project not retaining dashboard

splunkannm1
New Member

R analytics app does not retain the scripts stored as dashboard ( though the dashboard title is saved when we access it, it defaults to the default R script editor ).

Could you please help us ? Thank you !

Tags (1)
0 Karma

gwobben
Communicator

How did you create the dashboard? If it's defaulting to the editor my guess is that you've included a script in the dashboard or form tag at the top of the XML. I hope this helps?

0 Karma

splunkannm1
New Member

Update : found a way to modify the JS files in the backend to retain the search..after editing the source XML view

0 Karma

gwobben
Communicator

I would advise against editing the JS directly, since all of your changes might be lost when you update the R app in the future.

You should make a copy of the JS and include that file, instead of the original (if you wish to use the entire editor).

0 Karma

splunkannm1
New Member

Hi GIjs,

I am trying to do it via source . It preserves the R script editor portion but not the query we are trying to use. So each time we land on this page, for eg http://:8000/en-US/app/search/pilot_test,

It will preserve the R script but not the splunk query. It keeps defaulting to |inputlookup iris.csv.

Do you have any sugestions?

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...