Hello.
I want to make a dashboard with statistics about errors that happen in our application. I've made column chart with errorOperationsCount/operationsCount.
Then I've added 1 panel on my dashboard and I want to fill it with timechart of results of top-1 operation from first search. I want to make it through hidden search (so that I just complement the first search), but I don't know how to do it. Can you help me, please?
My current implementation:
1) chart with errorOperationsCount/operationsCount
index=prt
| chart dc(trackingId) over operation by result
| addtotals
| eval ratio = 1 - coalesce(OK,0)/Total
| fields operation, ratio
| sort limit=25 -ratio
2) first panel (I couldn't come up with how to do it through using result of first search)
index=prt result=*
[search index=prt result=*
| chart dc(trackingId) over operation by result
| addtotals
| eval ratio = 1 - coalesce(OK,0)/Total
| sort limit=1 -ratio |fields operation]
|timechart span=1h count by result
... View more