-1

I am working on small Java application that writes logs as follows:

2023-08-28 09:50:12.414  INFO 1 --- [istener-1-0-C-1] .s.s.e.b.m.c.EventBrokerTemplateListener : Received message on outbound topic: from-mdsvc-sap-cic-plant-plant. internalUUID: 936bf1fa40813742254a980080dc345c, subaccountId: 093981df-e9e6-44f3-9515-d8e633a9e4ab
2023-08-28 09:50:12.787  INFO 1 --- [istener-1-0-C-1] c.s.s.e.b.m.api.eb.MessagePublisher      : Successfully invoked the Event Broker Publisher.  Message Id: [936bf1fa40813742254a980080dc345c], Response Code: 202 ACCEPTED

The internalUUID is the unique identifier that ties the entry and exit logs as shown above.

I am trying to write a performance test with a batch of messages each with a different internalUUID, and need to generate a report that looks like this:

internalUId | Start Time | End Time | Difference

for all messages.

Is this something that can be done via Grafana? I recollect that it can be done via Splunk, but unforutnately it is not an option for me?

Thanks for your inputs, Prabal

Jan Garaj
  • 25,598
  • 3
  • 38
  • 59
Prabal Rakshit
  • 417
  • 1
  • 6
  • 16
  • 1
    Grafana of itself cannot do this, but if you are storing this logs in something like Loki, it is possible. See the similar question: https://stackoverflow.com/questions/76719315 – markalex Sep 01 '23 at 11:34
  • Thanks for the answer. @markalex. Will try this. – Prabal Rakshit Sep 02 '23 at 06:33

0 Answers0