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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...