Dashboards & Visualizations

Passing Variable from one view to other view

snehal8
Path Finder

Hello All,

I am trying to pass value to one view to other.for that i did xml as follows:

Created View Called CityName and wrote xml as follows:




Top Cites (last 24 hours)
index="myindex" Subscriber_State=$US_State$| table Subscriber_City

Where US_state is variable pass by another view.

that is:

It is Tag in

/app/myapp/CityName?view.US_State=$click.value$

Can any one tell me where i am going wrong.

Thank you

Tags (1)
0 Karma

snehal8
Path Finder

Can any one please Help me one this how to get this. without using of sideview app.

0 Karma

sbsbb
Builder

Hi,

I'm not sure about how to do it only with Splunk, but I make similar things with Sideview, using the URLloader, and it really works fine...

On your target view, every variable set in the Url is converted to a $foo$ variable, and if you have Inputs (dropdown, textfield) with the same name as the $foo$ parameter, there value is set when the page loads.

0 Karma

snehal8
Path Finder

Thanks for reply.Still i not used sideview .can you please tell me how to use URLloader in my example.

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