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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...