Skip to content

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

@michaelsembwever

Description

@michaelsembwever

Currently all log files are collected.

ref: https://github.com/datastax/diagnostic-collection/blob/master/ds-collector/rust-commands/collect-info.rs#L765-L774

Some cluster/nodes can have many GBs of logs that make running montecristo difficultly painful; logs that are over time periods that offer little value.

The idea here is to implement an option that can be passed into collect-info and then onto cpReadable.sh for find arguments, something like cpReadable_args.
For limiting the logs collected we could then cpReadable_args: -mtime -7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions