cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enrich a log event

strudeau
Participant

I am trying to generate a log event and was wondering how enhance its content so as to contain both start and end time, for example.

Assuming a log such as:

  • timestamp - started task A with status SUCCESS
  • timestamp - finished task A with status FAILURE

How can I create a log event that would contain

taskName, taskStatus, startTime, endTime

 

Basically, I would need to create an event for when the "started" log is created and then create another event or update the original event with the latest status value and endTime.

How should I go about creating that? How will dynatrace know how to merge the information from the "started" event with the "finished" event? Thanks.

1 REPLY 1

Featured Posts