Skip to content

Comments

add option to limit amount of log files to collect#188

Merged
michaelsembwever merged 1 commit intomasterfrom
mck/log-file-limit
Oct 24, 2025
Merged

add option to limit amount of log files to collect#188
michaelsembwever merged 1 commit intomasterfrom
mck/log-file-limit

Conversation

@michaelsembwever
Copy link
Member

@michaelsembwever michaelsembwever commented Oct 15, 2025

Added to collector.conf

# Limit collection of log files to those with a timestamp newer than $logsMaxAgeDays days
# By default we collect all log files newer than two months old to ensure thorough discovery analysis of nodes,
#  particularly for issues on background tasks like repairs and past operator initiated faults.
# Setting to empty string will disable this and collect all log files regardless of age.
#
# Some deployments are tens to hundreds of GBs of logs kept on nodes, and this can become unweldly to upload.
#  When needed set to reduce to manageable size.
#logsMaxAgeDays=61

@michaelsembwever michaelsembwever merged commit 0580fa4 into master Oct 24, 2025
3 checks passed
@michaelsembwever michaelsembwever deleted the mck/log-file-limit branch October 24, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants