Skip to content

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

Merged
ishleenk17 merged 2 commits into
elastic:mainfrom
Alphayeeeet:apache-access-log-ignore-older
Sep 10, 2024
Merged

Provide support of configuring ignore_older events in apache access-logs#10809
ishleenk17 merged 2 commits into
elastic:mainfrom
Alphayeeeet:apache-access-log-ignore-older

Conversation

@Alphayeeeet

Copy link
Copy Markdown
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 Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] enhancement New feature or request labels Aug 19, 2024

@andrewkroh andrewkroh left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

/test

@elasticmachine

Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

@Alphayeeeet

Copy link
Copy Markdown
Contributor Author

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

@ishleenk17 ishleenk17 left a comment

Copy link
Copy Markdown
Member

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
@elasticmachine

Copy link
Copy Markdown

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

@Alphayeeeet
Alphayeeeet deleted the apache-access-log-ignore-older branch December 4, 2024 09:32
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 4, 2025
…ogs (elastic#10809)

* Allow configuration of ignore_older

* Added PR link to changelog
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 5, 2025
…ogs (elastic#10809)

* Allow configuration of ignore_older

* Added PR link to changelog
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 Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

4 participants