Hello.
I'm trying to compare two panels to see if there are any changes in the count. Both panels should be equal but if it changes (allowing a count of plus/minus 5 for catch up) then notify in another panel, i.e.
If both panels have the same count then display GOOD in third panel.
If numbers differ, then display WARNING in same third panel as above.
1st Panel search string...
index="file1" type=input" | stats count
2nd Panel search string...
index="file2" type="output" | stats count
3rd Panel ?????...
compare index="file1" type=input" | stats count with index="file2" type="output" | stats count if difference is greater or less than 5 then echo WARNING otherwise GOOD
I'm struggling with the 3rd panel and have completely lost count of the variations I have tried but the logic is above.
,Hello.
I'm trying to compare two panels to see if there are any changes in the count. Both panels should be equal but if it changes (allowing a count of plus/minus 5 for catch up) then notify in another panel, i.e.
If both panels have the same count then display GOOD in third panel.
If numbers differ, then display WARNING in same third panel as above.
1st Panel search string...
index="file1" type=input" | stats count
2nd Panel search string...
index="file2" type="output" | stats count
3rd Panel search string...
compare index="file1" type=input" | stats count with index="file2" type="output" | stats count if difference is greater or less than 5 then echo WARNING otherwise GOOD
I'm struggling with the 3rd panel and have completely lost count of the variations I have tried but the logic is above.
... View more