Dashboards & Visualizations

Can I pass multiple values defined in a fieldset tag using drilldown and simple XML?

oshi
Engager

Disclaimer: Very new to Splunk.
Can I pass multiple values defined in a fieldset tag using drilldown and simple XML, or do I need to learn advanced xml for this functionality?
Every attempt I've made to pass a second value in a drilldown link (eg ../?form.token1=$value1$&form.token2=$value2$) just passes it through as written instead of the value it represents.
I have a workflow where a user is identified (by name or ip address) in order to locate the identifier of the transaction, which is used to locate all events related with that user's actions within the system (not all of which include their user name in the event).
However, the data is coming from multiple servers, and the identifiers periodically roll over so I'd like to be able to pass host and time information along with transaction id.
Thanks!

Labels (2)
0 Karma
1 Solution

oshi
Engager

The & symbol is a reserved XML character (which was the problem), but it turns out it that the ASCII identities work as expected and allow you to pass more than one token if used between values (eg /..?form.value1=$row.value1$&form.value2=$row.value2$). I thought I'd tried this yesterday, but I guess I had done it wrong. The ascii code for & is (without the space) & amp; or & #38;

View solution in original post

Kamal95
Engager

I tried it and it worked in single try, Thank you so much.

0 Karma

oshi
Engager

The & symbol is a reserved XML character (which was the problem), but it turns out it that the ASCII identities work as expected and allow you to pass more than one token if used between values (eg /..?form.value1=$row.value1$&form.value2=$row.value2$). I thought I'd tried this yesterday, but I guess I had done it wrong. The ascii code for & is (without the space) & amp; or & #38;

mukesh_gupta
Explorer

thanks man it worked for me.

0 Karma

ankurborah
Path Finder

Thanks Oshi. Its working for me too.

0 Karma

Leo
Splunk Employee
Splunk Employee

oshi, try using $form.< token>$ instead:

form.token1=$form.name$&form.token2=$form.ip$

also, you can use values from the row on which you clicked:

form.value1=$row.field1$&form.value2=$row.field2$

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