Bosun how to merge different group result in one?

711 Views Asked by At

When using bosun query, the result goes like

group result

{tag1} result1

{tag2} result2

...

How can I merge all the groups into one and the result turns out like

group result

{mergedTag} mergedResult1

1

There are 1 best solutions below

0
Björn Marschollek On

There's not a lot of detail in the question, but you can use ungroup() to first remove all tags, which lets you combine results from different groups into one.

If you then still need a single "merged" tag, you can add it in a further step using addtags().