-
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
Remove log from Persistence storage only if exporter is able to consume the log and respond with 200 status code #36584
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
In your case, I believe it will make sense to enable persistence backed sending_queue, with elasticsearchexporter config |
/label -needs-triage |
Hi @carsonip, I tried these options but these are not meeting the expectations.
I am using the following config.
And I am using this docker file
|
Sorry, do you mind elaborating on this? The config looks good to me.
|
Component(s)
exporter/elasticsearch, exporter/kafka, receiver/kafka
Is your feature request related to a problem? Please describe.
I am collecting logs via HTTP endpoint and sending this data to elasticsearch(ES) using elasticsearchexporter.
Everything is working perfectly fine if the ES instance is up and working.
But here are two issue
Few points -
The end goal is -
Please suggest some approach on this.
Describe the solution you'd like
Remove log from Persistence storage only if exporter is able to consume the log and respond with 200 status code.
Ensure delivery to exporter, once or atleast once.
Describe alternatives you've considered
I have tried the following approaches
But same issue can occur in case of kafka also.
Additional context
No response
The text was updated successfully, but these errors were encountered: