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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...