-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
elasticsearch/log exporter dropping data + context deadline exceeded from aks to elastic cloud es #34564
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
|
Looks like it was a configuration problem. Here is the final version of the config that works good for deployment with 1 replica, but on daemon-set setup periodically I see dropping data errors with context deadline exceeded msg:
@carsonip Could you please tell me how I could configure dynamic creation of indexes in filelog-logs-2024-12 format for example? I found logs_dynamic_index, but couldnt find how I could create with %Y-%M timestamp |
My recommendation would be to use data streams instead of indices. If you perform all the steps below:
Then, the logs will then be sent to the configured data stream, and as anything under |
The working configuration is written above, there was a problem with it. Also added logs_dynamic_index instead of dedicated index, for convenience. Thanks for tips @carsonip |
Component(s)
exporter/elasticsearch
What happened?
Description
my environment is hosted on the AKS 1.28.9 cluster and elasticsearch is 8.13.4 on the elastic cloud. I'm using elasticsearch exporter to send log to the elastic cloud. I'm getting errors with dropping data and context deadline exceeded. I dont see any other issue.
Steps to Reproduce
Setup AKS + Elastic Cloud integration on Azure
Try to deploy otel/opentelemetry-collector-contrib:0.106.1 with configmap from OpenTelemetry Collector configuration field below.
Expected Result
elasticsearchexport can send pods/containers logs to the elastic cloud from my aks cluster
Actual Result
Exporting failed. Dropping data.
Collector version
0.106.1
Environment information
Environment
AKS cluster version: 1.28.9
OpenTelemetry Collector configuration
Log output
The text was updated successfully, but these errors were encountered: