Hi bowesmana, firstly thanks for such a quick reply. i tried to put the below code in my xml, but i still don't see $endpoint$ in search query being populated with the value set in condition. probably i am using condition in wrong place. below is my xml, please let me know where i am getting wrong. <form>
<label>Apigee logs</label>
<description>Stats based on the logs of selected services </description>
<fieldset submitButton="false">
<input type="dropdown" token="service" searchWhenChanged="true">
<label>Service</label>
<choice value="capi">capi</choice>
<choice value="crapi">crapi</choice>
<default>capi</default>
<initialValue>capi</initialValue>
</input>
<input type="dropdown" token="environment" searchWhenChanged="true">
<label>Environment</label>
<choice value="ppe">ppe</choice>
<choice value="pte">pte</choice>
<default>ppe</default>
<initialValue>ppe</initialValue>
</input>
<change>
<condition match="$service$="capi" AND $environment$="ppe"">
<set token="endpoint">/capi/ppe</set>
</condition>
</change>
</input>
<row>
<panel>
<title>Response status codes over time</title>
<chart>
<title>only real traffic, excludes _status/_interface/(...) endpoints</title>
<search>
<query>index=api_$environment$
endpoint=$endpoint$
| timechart span="$time_span$" count by responseStatus</query>
</chart>
</panel>
</row>
</form>
... View more