Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Logs: use one input per agent policy #11251

Closed
zmoog opened this issue Sep 26, 2024 · 0 comments · Fixed by #11984
Closed

Azure Logs: use one input per agent policy #11251

zmoog opened this issue Sep 26, 2024 · 0 comments · Fixed by #11984
Assignees
Labels
enhancement New feature or request Integration:azure Azure Logs Team:obs-ds-hosted-services Label for the Observability Hosted Services team [elastic/obs-ds-hosted-services]

Comments

@zmoog
Copy link
Contributor

zmoog commented Sep 26, 2024

Situation

When users install the Azure Logs integration, they can specify only one event hub and enable multiple data streams.

Image

When users enable a data stream, the Azure Logs integration creates one input:

Image

Problem

Each input created for a data stream (e.g., the input 1 from the previous screenshot) is unaware of other inputs. When multiple inputs access an event hub in an uncoordinated way, they create contention for the event hub partitions.

Each input assumes it is the only one accessing the event hub. When the number of inputs reading data from an event hub is higher than 5, they disconnect each other.

Solution

Solution 1: one input with routing

Each Azure Logs integration install must spawn only one input and route log event to the intended destination using routing (routing rule or reroute processor).

Do you want to try this solution on the current version of Azure Logs?

Please follow the steps at zmoog/public-notes#92 to set up log event ingestion using one input + routing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:azure Azure Logs Team:obs-ds-hosted-services Label for the Observability Hosted Services team [elastic/obs-ds-hosted-services]
Projects
None yet
1 participant