Hi,
I have log lines like theses ones:
{"app":"app1", "needrestart":1}
{"app":"app2", "needrestart":0}
{"app":"app3", "needrestart":0}
{"app":"app1", "needrestart":1}
{"app":"app4", "needrestart":1}
And I want to make a single number dashboard to tell me there are 2 apps to restart. It seems very simple but I can’t figure how to achieve this. Note: app can have multiple entries, but only the most recent one must be used.
Thanks for your help !
Mat