What specific logging code is in the audit message you're inspecting?
Justin On Tue, Oct 22, 2024 at 10:25 AM Alexander Milovidov <milovid...@gmail.com> wrote: > Hi All, > > Recently I tried to parse Artemis audit logs to get information about > message size. It is needed to gather information about client applications > that cause the most of the message broker load. > I mentioned that message headers in the audit log usually include duplicate > "durable" property. Is it the same property of the message, or properties > of two different objects? > > For example: > messageID=123, durable=true, userID=some_uuid, priority=4, timestamp=some > timestamp, expiration=some expiration date, durable=true, address=TEST, > size=309, properties=TypedProperties[...] > > I also mentioned that message size is not logged in the large message > header, but it can be extracted from _AMQ_LARGE_SIZE message property. > And some headers are separated using comma and space, some with comma only. > > By the way, is there a possibility to add metrics with sent/received bytes > to each address or queue? > Is it complicated to implement or may cause significant overhead? > > -- > Regards, > Alexander >