Unclear fields in Azure Even Hub logging

Niels Beukenkamp 25 Reputation points
2023-07-18T09:56:00.8766667+00:00

Hi,

I have a question about what some of the fields log. I've read through the documentation but the explanation gives me more questions than answers. Which 'Metric' do they mean here

The following fields are quite unclear:

json.count

json.maximum

json.minumum

json.average

json.total

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
601 questions
{count} votes

2 answers

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 85,586 Reputation points Microsoft Employee
    2023-07-24T08:43:52.7866667+00:00

    @Niels Beukenkamp - The json.count, json.maximum, json.minimum, json.average, and json.total fields are used to represent the values of a specific metric that is collected by Azure Monitor Logs.

    A metric is a numerical value that describes an aspect of a system at a particular point in time. For example, CPU usage, memory usage, and network traffic are all examples of metrics that can be collected by Azure Monitor Logs.

    When you run a query to collect a specific metric, Azure Monitor Logs will return a table with the json.count, json.maximum, json.minimum, json.average, and json.total fields, which represent the values of that metric.

    For example, if you run a query to collect the CPU usage of a virtual machine, the json.count field will show the number of CPU usage values that were collected, the json.maximum field will show the maximum CPU usage value, the json.minimum field will show the minimum CPU usage value, the json.average field will show the average CPU usage value, and the json.total field will show the sum of all the CPU usage values.

    I hope this helps! Let me know if you have any other questions.

    1 person found this answer helpful.
    0 comments No comments

  2. Q&A Assist
    2023-07-18T09:56:00.88+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The fields json.count, json.maximum, json.minimum, json.average, and json.total are related to metric aggregation in Azure Event Hubs logging. These metrics are collected and aggregated across multiple events and can provide insight into the overall performance and behavior of the system.

    Here is a brief explanation of each field:

    • json.count - the number of events that contributed to the metric aggregation.
    • json.maximum - the highest recorded value for the metric.
    • json.minimum - the lowest recorded value for the metric.
    • json.average - the average value for the metric across all events.
    • json.total - the sum of all values for the metric across all events.

    For example, if you were tracking response times for a web service, you could use these metrics to understand how the service is performing overall. The json.count field would tell you how many requests were made, while the json.average field could give you the average response time.

    I hope that helps clarify these fields for you. If you have any further questions or concerns, feel free to ask.

    References:

    0 comments No comments