Seeking help to resolve a TICK script issue.
From multiple nodes infux is getting data. I have to find the sum-of-max-values in 24 hours from 4 Nodes and I am using batch script.
when I’m doing group by .groupBy(time(24h), ‘host’) - I am getting 8 rows instead of 4. - decided to use the first value from each node so used - |first(‘value’)
Then I try to add.
Issues is - I am not getting sum of all four max-values.
Could you please help me to find right way to resolve this issue ??
May be I am doing something wrong, please try to help a beginner.