I have the following code that works fine in a view and chart...
<searchTemplate>index=MyApp Alert_Type<2 earliest=-2w GroupName!="No Support Group"| dedup Serial | timechart count as yvalue | `lineartrend(_time,yvalue)` | timechart sum(yvalue) sum(newY)</searchTemplate>
When I add a dropdown option for the groupname, the chart loses the linear trend. Here is the code that does not work..
<searchTemplate>index=MyApp Alert_Type<2 earliest=-2w GroupName=$GroupName$ | dedup Serial | timechart count as yvalue | `lineartrend(_time,yvalue)` | timechart sum(AlertCounts) sum(newY)</searchTemplate>
How do I keep the trend line with the drop down menu? Thanks in advance.
This right?
・・・・・ | timechart sum(AlertCounts) sum(newY)
sum(AlertCounts) -> sum(yvalue) ?