Log Analytics agent for Linux + Collectd, misaligned TimeGenerated timestamps in Azure

Lucien 1 Reputation point
2020-09-15T19:06:45.49+00:00

Hello,

I have both the Log Analytics (OMS) agent for Linux and collectd installed on a on-prem Ubuntu VM.

I'm sending various on-prem metrics, mostly ping and snmp, to Azure.

Collectd sends its data to the OMS agent on port 26000 (write_http), as explained in this page:

https://learn.microsoft.com/en-us/azure/azure-monitor/platform/data-sources-collectd

I noticed that the TimeGenerated timestamps of my metrics in Azure do not match those generated by collectd.

For ex. with ping.

Collectd is configured to ping a host every 10 sec.

The TimeGenerated timestamps in collectd go like:

10:34:57, value 0.182
10:34:47, value 0.266
10:34:37, value 0.181

And when the metrics are in Azure, this is what I see:
24961-same-timestamps.png

Multiple metrics have the same timestamps, 10:35:06 in this example.

I don't understand why the TimeGenerated timestamps get modified on the way to Azure...

Any idea?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,668 questions
{count} votes