I have requirement to get the start timestamp from the logs based on a particular correlation Id in the Grail.
Could you please suggest on this
I have requirement to get the start timestamp from the logs based on a particular correlation Id in the Grail.
Could you please suggest on this
If you are looking for earliest (and maybe latest too) timestamp of log line with particular correlation in, it could look like this:
| summarize { start_time=min(timestamp), end_time=max(timestamp)}, by: {corrleation_id}
but I may be incorrectly interpreting your need.
Example on test data looks like this: