Azure Linux Diagnostic VM Extension

Juan Matthew 0 Reputation points
2024-07-03T02:42:00.1+00:00

Hello Azure Community,

I need help to Send Azure VM Logs to Event hubs using Linux Diagnostics LAD 4.0 . I have succesfully create Storage account and Event hubs. But I encounter an error or problem message. This is the message

"Problem(s) detected in generated mdsd configuration. Can't enable, although this install/enable operation is reported as successful so the VM can complete successful startup. Linux Diagnostic Extension will exit. Config validation message: 2024-07-03T01:57:51.7974590Z: Msgpack array size is not set. Will use default 10485760 items. Msgpack map size is not set. Will use default 10485760 items. Msgpack string size is not set. Will use default 10485760 bytes. Msgpack bin size is not set. Will use default 10485760 bytes. Msgpack ext size is not set. Will use default 10485760 bytes. Msgpack nesting is not set. Will use default 10 levels. 2024-07-03T01:57:51.7975090Z: Event ingestion rate limiting (EPS) is set to 20000 events per second. 2024-07-03T01:57:51.7975680Z: Trying to lock '/var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-4.1.10.lock', fd=10 2024-07-03T01:57:51.7976000Z: Lock '/var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-4.1.10.lock' was taken successfully. 2024-07-03T01:57:51.7979560Z: No GCS env var is defined. GCS won't be used. Parse reported these messages: /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-4.1.10/xmlCfg.xml(3) Error: Storage credential validation for table storage failed: MdsTime(): expected: RFC3339 date; Actual: decoded='1751507743', original: '1751507743' /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-4.1.10/xmlCfg.xml(25) Error: No default credentials were defined /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-4.1.10/xmlCfg.xml(27) Error: No default credentials were defined"

Can someone please help ?

error eventhubs

Thank you

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,000 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,223 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
646 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nikhil Duserla 2,830 Reputation points Microsoft Vendor
    2024-07-03T09:57:24.52+00:00

    Hi Juan Matthew ,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    We understand from your query that you are experiencing an issue while trying configuration of the Linux Diagnostic Extension.

    • Msgpack settings not set: The Msgpack settings (array size, map size, string size, bin size, ext size, and nesting) are not set, so default values are being used
    • The event ingestion rate limiting (EPS) is set to 20000 events per second.
    • /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-4.1.10.lock was taken successfully.
    • The error message indicates that some GCS (Google Cloud Storage) environment variables are missing. Without these variables, GCS won’t be used.
    • XML configuration errors: There are three errors in the XML configuration file /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-4.1.10/xmlCfg.xml:
      • Line 3: The MdsTime() function expects an RFC3339 date but received an invalid value 1751507743.
      • Line 25: No default credentials were defined.
      • Line 27: No default credentials were defined.

    If you have any further queries, do let us know.

    If the answer is helpful, please click "Accept Answer" and "Upvote it."


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.