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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...