Hi :)
I have setup a dashboard to allow users to optionally draw a trendline on a graph.
The user should be able to enter the number of days into the future for extending the trendline, but when I try to pass a token from the TextField module to a Pulldown module with a couple of staticOptions listed, the $daysFuture$ token does not get interpreted :(
Is there a workaround that we can use to pass a token downstream to a value in a Pulldown?
We are using Sideview Utils 2.3 and Splunk 5.0.1.
Example code below:
<module name="TextField" layoutPanel="panel_row2_col1">
<param name="name">daysFuture</param>
<param name="template">$value$</param>
<param name="label">Trend Days:</param>
<param name="width">20px</param>
<param name="float">left</param>
<param name="default">30</param>
<module name="Pulldown">
<param name="name">calctrendLine</param>
<param name="label">Calculate Trendline:</param>
<param name="float">left</param>
<param name="staticOptions">
<list>
<param name="label">Off</param>
<param name="value"></param>
</list>
<list>
<param name="label">On</param>
<param name="value">| `lineartrend(_time, Total)`
| `lineartrendextend(_time, Total, $daysFuture$)`</param>
</list>
</param>
<module name="Checkbox">
<param name="name">drawtrendLine</param>
<param name="label">Draw Trendline:</param>
<param name="onValue">max(newY) as Linear_Trend</param>
Thanks in advance,
Luke :)