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

Provide support of configuring ignore_older events in apache access-logs #10809

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

Alphayeeeet
Copy link
Contributor

Please label as enhancement

Currently, there is no option for ignoring events older than X. This can be problematic, if there are hundreds of gigabytes of historical logfiles, that cannot be deleted, but shall not be ingested in Elastic.'

In more detail: We have apache as an internal core reverse-proxy and save the access logs on a fileshare, where elastic agent should ingest them. However some production environments have an uncompressed volume size of up to 227 GB, which currently should not all be ingested into Elastic, as there might be other retention periods as we currently have on our fileshare.

Therefore this option should prevent the ingestion of those old files, and should be configurable the same way, as it is already possible in the custom log integration.

@Alphayeeeet Alphayeeeet requested a review from a team as a code owner August 19, 2024 07:26
@andrewkroh andrewkroh added Integration:apache Apache HTTP Server Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] enhancement New feature or request labels Aug 19, 2024
Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. But still requires @elastic/obs-infraobs-integrations review.

@andrewkroh
Copy link
Member

/test

@elasticmachine
Copy link

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

💚 Build Succeeded

@Alphayeeeet
Copy link
Contributor Author

@muthu-mps or @ishleenk17 also gently asking for review of this PR. Thank you

Copy link
Contributor

@ishleenk17 ishleenk17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ishleenk17 ishleenk17 merged commit 50c8b32 into elastic:main Sep 10, 2024
5 checks passed
@elasticmachine
Copy link

Package apache - 1.25.0 containing this change is available at https://epr.elastic.co/search?package=apache

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:apache Apache HTTP Server Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants