Forum Discussion
Limit series in Log Analytics histogram
- Apr 18, 2018
If this is the thing you wanted to achieve:
I would have pointed you earlier but I didn't understand exactly the request I guess. Reply yes if the logic in that blog post matches what you've wanted to achieve. That way I can mark this reply as answer for future people to see it.
Hi
If I understand the question correctly I think if you put:
| summarize arg_max(Value, *) by Computer
before
| render timechar
I think you might achieve the desired effect.
arg_max() - https://docs.loganalytics.io/docs/Language-Reference/Aggregation-functions/arg_max()
Let me know if it works.
- DeletedApr 18, 2018
Thanks Stanislav!
Your response actually showed what I was missing in my solution, which was a way to determine the top 5 machines before displaying a histogram. The solution I used, seen in the response above, basically does this first, and inner joins that with the time-series search.
- Apr 18, 2018
If this is the thing you wanted to achieve:
I would have pointed you earlier but I didn't understand exactly the request I guess. Reply yes if the logic in that blog post matches what you've wanted to achieve. That way I can mark this reply as answer for future people to see it.
- DeletedApr 18, 2018
Yes, this is exactly it! Thanks, and apologies for not being clearer in my question.