Marius, you've been a great help so far - hopefully you would permit me one more question.
I am a little stumped on how to get total messages in a stream for the period. For example, using a 1 minute search (2015-11-02 19:59:00 +13:00 to 2015-11-02 20:00:00 +13:00) in Graylog, returns 1757 messages. I have tried two ways getting close to that number (I know due to the flush interval it will not be exact): I have a custom field being set by nxlog, eventOccurance, which is set to 1. Using m1_rate * 60 for that total, but this seems incorrect as at 20:00:00 m1_rate has a value of 7, so I would have assumed that only 7*60 (420) messages have been received as the run_rate is 60. The other option was to use Graphite's derivative function. The plugin is set to send eventOccurance:meter. For that timeperiod. that returns 474. This seems correct verifying against the m1_rate * 60 route, due to it not flushing on the minute. But the discrepancy between Graylog and Graphite is quite big. The stream seems to be correct as querying Graylog using the stream also returns 1757 for that period. Could you kindly shed some light on what I may be missing? -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/694dad9e-723e-43ff-9022-4ac0fa567a18%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
