-
Notifications
You must be signed in to change notification settings - Fork 457
[Azure Logs] Clarify the Storage Account container role in the integration #5604
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] Clarify the Storage Account container role in the integration #5604
Conversation
🌐 Coverage report
|
a37d603
to
93de680
Compare
Hey, @alstolten, I drafted an update to the storage account documentation. We probably have better coverage of this topic now, but I'd love to hear WYT. Should we:
Let me know anything that comes to your mind. |
You will see the changes twice, but this is normal. The integration stores the doc in source and rendered forms. |
Hey @zmoog LGTM. I believe we can take it from here and adjust for more user feedback once collected. Thanks for the changes! |
packages/azure/docs/README.md
Outdated
@@ -69,7 +67,7 @@ To learn more about Event Hubs, refer to [Features and terminology in Azure Even | |||
|
|||
The [Storage account](https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview) is a versatile Azure service that allows you to store data in various storage types, including blobs, file shares, queues, tables, and disks. | |||
|
|||
The Azure Logs integration uses a Storage account container to store and share information about the Consumer Group (state, position, or offset). Sharing such information allows multiple Elastic Agents assigned to the same agent policy to work together; this enables horizontal scaling of the logs processing when required. | |||
The Azure Logs integration requries a Storage account container to work. The integration uses the Storage account container for checkpointing; it stores data about the Consumer Group (state, position, or offset) and share it among the Elastic Agents. Sharing such information allows multiple Elastic Agents assigned to the same agent policy to work together; this enables horizontal scaling of the logs processing when required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Azure Logs integration requries a Storage account container to work. The integration uses the Storage account container for checkpointing; it stores data about the Consumer Group (state, position, or offset) and share it among the Elastic Agents. Sharing such information allows multiple Elastic Agents assigned to the same agent policy to work together; this enables horizontal scaling of the logs processing when required. | |
The Azure Logs integration requires a Storage account container to work. The integration uses the Storage account container for checkpointing; it stores data about the Consumer Group (state, position, or offset) and shares it among the Elastic Agents. Sharing such information allows multiple Elastic Agents assigned to the same agent policy to work together; this enables horizontal scaling of the logs processing when required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not seeing these typos being resolved in the latest diff.
@@ -2,7 +2,7 @@ | |||
|
|||
The Azure Eventhub Input integration allows users to collect events from Azure event hubs. | |||
|
|||
The azure-eventhub input functionality is based on the the event processor host (EPH is intended to be run across multiple processes and machines while load balancing message consumers more on this here https://github.com/Azure/azure-event-hubs-go#event-processor-host, https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-event-processor-host). State such as leases on partitions and checkpoints in the event stream are shared between receivers using an Azure Storage container. | |||
The azure-eventhub input functionality is based on the the event processor host (EPH is intended to be run across multiple processes and machines while load balancing message consumers more on this in the [Azure event-hubs-go doc](https://github.com/Azure/azure-event-hubs-go#event-processor-host) and [Azure event-processor doc](https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-event-processor-host)). State such as leases on partitions and checkpoints in the event stream are shared between receivers using an Azure Storage container. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two minor suggestions:
based on the the event
-> remove one "the".
message consumers more on this in the
-> message consumers, see
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added it to the latest commit; please let me know if the updated version works for you.
Tries to answer to the following questions: - Why is recommended setting up an storage account and how does it help? - What can happen if we stop using the storage account with the integration? - If we need to use the storage account, what configuration elastic recommends? Hot or cold storage, how long to store the data in the storage, etc
All requirements and setup instructions are now consolidated in the general Azure Logs page available at: https://docs.elastic.co/integrations/azure Each specific integration page now links to the general page.
Co-authored-by: Damien Mathieu <[email protected]>
d8d8e02
to
d7cfe27
Compare
@dmathieu I took the opportunity of this review to make additional changes to the Azure Logs integration docs. Now each integration page is aligned with the following broad structure:
Here are a couple of examples: |
This documentation requires revision, but the scope is broader than this PR. I am addressing the most critical changes here and saving the rest for another PR. |
packages/azure/docs/README.md
Outdated
@@ -69,7 +67,7 @@ To learn more about Event Hubs, refer to [Features and terminology in Azure Even | |||
|
|||
The [Storage account](https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview) is a versatile Azure service that allows you to store data in various storage types, including blobs, file shares, queues, tables, and disks. | |||
|
|||
The Azure Logs integration uses a Storage account container to store and share information about the Consumer Group (state, position, or offset). Sharing such information allows multiple Elastic Agents assigned to the same agent policy to work together; this enables horizontal scaling of the logs processing when required. | |||
The Azure Logs integration requries a Storage account container to work. The integration uses the Storage account container for checkpointing; it stores data about the Consumer Group (state, position, or offset) and share it among the Elastic Agents. Sharing such information allows multiple Elastic Agents assigned to the same agent policy to work together; this enables horizontal scaling of the logs processing when required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not seeing these typos being resolved in the latest diff.
Fixed. Thank you for double-checking. |
Co-authored-by: Damien Mathieu <[email protected]>
698eb96
to
ee7789d
Compare
@dmathieu, do you think this needs more work or we're good to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Package azure - 1.5.13 containing this change is available at https://epr.elastic.co/search?package=azure |
What does this PR do?
Motivation
We received some questions about the role of the Storage Account in the Azure Logs integration. At least one user—probably more—couldn't find the needed information on our public-facing documentation.
Here are the questions:
Checklist
changelog.yml
file.Screenshots
Here is a screenshot of the link to the general Azure Logs page that contains requirements and setup information.