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

Check fields/body size not to exceed data limits of Azure Monitor Data Collection API #16

Closed
yokawasa opened this issue May 6, 2020 · 6 comments

Comments

@yokawasa
Copy link
Owner

yokawasa commented May 6, 2020

Enhancement

There are data limits of Azure Monitor Data Collection API. An enhancement is to check fields/body size not to exceed data limits of Azure Monitor Data Collection API.

Data Limits

There are some constraints around the data posted to the Azure Monitor Data collection API.

Maximum of 30 MB per post to Azure Monitor Data Collector API. This is a size limit for a single post. If the data from a single post that exceeds 30 MB, you should split the data up to smaller sized chunks and send them concurrently.
Maximum of 32 KB limit for field values. If the field value is greater than 32 KB, the data will be truncated.
Recommended maximum number of fields for a given type is 50. This is a practical limit from a usability and search experience perspective.
A table in a Log Analytics workspace only supports up to 500 columns (referred to as a field in this article).
The maximum number of characters for the column name is 500.

relevant issues

@marcosflobo
Copy link

@yokawasa I see this issue closed, does it mean that this feature is released in version 0.6.0? 😃

@yokawasa
Copy link
Owner Author

@marcosflobo
Thanks for the comment. The release is not for this feature.
I'm releasing new version for this feature shortly.

@yokawasa
Copy link
Owner Author

@marcosflobo
I've just published fluent-plugin-azure-loganalytics-0.7.0 that change base azure-loganalytics-datacollector-api to ">= 0.5.0". azure-log-analytics-data-collector-0.5.0 added check body size not to exceed data limit of 30MB in Azure Monitor Data Collection API

I didn't add each fields size check as I thought it may cause some performance issue if the num of field is too large. Instead, I added some description on data limits on README.md.

@yokawasa
Copy link
Owner Author

@marcosflobo I'm closing this issue
Please open an issue if you have any other suggestions!
Thanks again for your suggestion.

@marcosflobo
Copy link

Thank you very much @yokawasa for your work for the open-source community!! We'll upgrade our version in production very soon thanks to you!

@xrstf
Copy link

xrstf commented Oct 22, 2020

Are there plans to support

A table in a Log Analytics workspace only supports up to 500 columns (referred to as a field in this article).

out of the box or should users use the record_transformer to remove unwanted/overhanging fields themselves?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants