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!

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