So I'm trying to create a hyperlink that is based off a search and postProcess but a little different. So now I'm having problems with 1) having to duplicate the same query text multiple times and 2) having to manually URL encode the query. Consider the example below:
rec=test field1=a | stats count(rec) by rec, field1, field2
field2=b
redirectURL
search,postProcess
rec=test field1=a field2=b <!-- WHAT I WANT THE URL TO CONTAIN -->
<![CDATA[ View Results ]]>
So in the example above, what I'm trying to do is just show the raw records by creating a flashtimeline to a URL encoded query that are associated with the 'search' and the 'postProcess' queries (but not a direct concatenation of the two tokens). So I can no longer pass in the $search$ and $postProcess$ tokens, so the question I have is can I define new tokens to 1) represent the parts of the query I want to reuse and also to pass into the 'urlEncodeKeys' param?
For example, Can I create tokens such that '$tok1$' equates to 'rec=test field1=a' and '$tok2' equates to 'field2=b', and use those tokens within the 'search' params and also to pass those in to the ValueSetter params?
... View more