Azure / Azure/azure-linux-extensions

td-agent.conf not getting updated after a new DCR association

Open
#1,974 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

I am interested in adding multiple DCRs to a single VM. Following steps are performed in order:

1. Installation of AMA
2. Creation of first DCR and association
3. Creation of second DCR and association

But I am getting logs in LA workspace for only the log file paths present in first DCR. I tried removing association of second DCR and then associating it agian, and I observed that we are updating the fluent-bit config file `td-agent.conf` when removing DCR association but not updating when creating one. And I beleive that might be the cause I am not getting logs from second DCR.

Kindly assist me in resolving the issue. Thanks in advance.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the ordered AMA installation and DCR-association steps, then inspect td-agent.conf after creating and removing each association. Compare the configuration with the log paths in both DCRs; done means the file reflects both associations and logs from both paths reach the Log Analytics workspace.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, linux
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.