Azure / Azure/azure-linux-extensions
AzureMonitorAgent v1.27, fluent-bit noise in Linux VM syslog
- Dominant language
- Python
- Stars
- 333
- Forks
- 278
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
I've deployed an AzureMonitorAgent (v1.27) to an UbuntuServer VM.
When I check the syslogs, there is alot of noisey output being generated by the ` azuremonitor-agentlauncher.service ` complaining about Fluent-bit stuff
`cat /var/log/syslog` ---->
```
AMACoreAgent Information: 0 :
Aug 16 14:02:35 MyUbuntuserverVm amacoreagent: CounterDataTransform: Counted 0 MsgpackTenantInformation[AccountName: TenantName:
EventName: ] events.
Aug 16 14:02:35 MyUbuntuserverVm amacoreagent: AMACoreAgent Information: 0 :
Aug 16 14:02:35 MyUbuntuserverVm amacoreagent: CounterDataTransform: Counted 0 Msgpack Dropped events.
Aug 16 14:02:41 MyUbuntuserverVm agentlauncher: AgentLauncher Information: 0 :
Aug 16 14:02:41 MyUbuntuserverVm agentlauncher: Checking...
Aug 16 14:02:41 MyUbuntuserverVm agentlauncher: AgentLauncher Information: 0 :
Aug 16 14:02:41 MyUbuntuserverVm agentlauncher: FluentBitWindows: {OSRequirement: Expected: WINDOWS Matches: False} {FileExistsRequireme
nt: (/c:\fluent-bit\conf\fluent-bit.conf) Exists: False} IsRequired: False
Aug 16 14:02:41 MyUbuntuserverVm agentlauncher: AgentLauncher Information: 0 :
Aug 16 14:02:41 MyUbuntuserverVm agentlauncher: FluentBitLinux: {OSRequirement: Expected: LINUX Matches: True} {FileExistsRequirement: (
/etc/opt/microsoft/azuremonitoragent/config-cache/fluentbit/td-agent.conf) Exists: False} {FileExistsRequirement: (/opt/microsoft/azuremonitoragent/bin/flue
nt-bit) Exists: True} IsRequired: False
Aug 16 14:02:56 MyUbuntuserverVm agentlauncher: AgentLauncher Information: 0 :
Aug 16 14:02:56 MyUbuntuserverVm agentlauncher: Checking...
Aug 16 14:02:56 MyUbuntuserverVm agentlauncher: AgentLauncher Information: 0 :
Aug 16 14:02:56 MyUbuntuserverVm agentlauncher: FluentBitWindows: {OSRequirement: Expected: WINDOWS Matches: False} {FileExistsRequireme
nt: (/c:\fluent-bit\conf\fluent-bit.conf) Exists: False} IsRequired: False
Aug 16 14:02:56 MyUbuntuserverVm agentlauncher: AgentLauncher Information: 0 :
Aug 16 14:02:56 MyUbuntuserverVm agentlauncher: FluentBitLinux: {OSRequirement: Expected: LINUX Matches: True} {FileExistsRequirement: (
/etc/opt/microsoft/azuremonitoragent/config-cache/fluentbit/td-agent.conf) Exists: False} {FileExistsRequirement: (/opt/microsoft/azuremonitoragent/bin/flue
nt-bit) Exists: True} IsRequired: False
```
Is there a way to remedy this output noise in the extension's configuration? Its annoying if the VM is having its Syslog sent to a Log Analytics Workspace etc...
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with azuremonitor-agentlauncher.service and the extension configuration paths shown in the syslog excerpts, especially the Fluent Bit Linux checks. Determine whether the agent's routine diagnostic logging can be configured without hiding meaningful errors; done means the unwanted Fluent Bit check noise no longer reaches syslog under the reported Ubuntu setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, linux
- Domain
- infrastructure, observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100