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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...