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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...