insights-core
insights-core copied to clipboard
Can’t remove a file with a comma in its name from collection
If you want to configure insights-core to remove a file from collection, it’s not possible if the filename contains a ,
comma. The reason is there when a configuration file is parsed, the value of the remove
key is split by a comma and each fragment is treated as a separate filename. See https://github.com/RedHatInsights/insights-core/blob/39643a8c72bb89cf84fa4501988dad1abb6a8fb7/insights/client/collection_rules.py#L181
This can be resolved either by escaping or by allowing to set the value as some kind of array.