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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...