I am trying to make my streams more efficient, so I have browsed to the stream metrics and have identified a few streams that I will need to look into.
However from the stream rule ID given on the metrics page, I cannot find out which stream matches which ID.
How would I find the stream listed in the above metric?
That’s unfortunately not that easy with only the stream rule ID.
With a reasonably modern version of MongoDB, you could use the following aggregation to get the corresponding stream to a stream rule ID (you’ll have to fill in the Stream Rule ID in the $match stage of the aggregation pipeline):
I have found a way to find out which metric represents the stream rule within the Graylog interface.
All of the rules and metrics are in the same order, so the 5th rule down is the 5th rule metric.
This isn’t the quickest process ever, but it works.