ansible-role-for-splunk icon indicating copy to clipboard operation
ansible-role-for-splunk copied to clipboard

Task for cleanup of old or not approved apps

Open Kentaage opened this issue 4 years ago • 0 comments

Have you thought about a task for cleaning up or removing of old or not approved apps?

My thoughts would be

  1. Validating git_apps list and the manifest file for Splunk installation against correct splunk_app_deploy_path and removing everyone that is not a match.

OR

  1. Validating git_apps list, the manifest file for Splunk installation and a Allowed_apps list (if by some reason you need to install something manually or any other way) against correct splunk_app_deploy_path and removing everyone that is not a match.

AND what to do with the non matching results:

  1. Backup/copy non matching results to a folder for 5 or 10 dates backups after that it rotates out and gets deleted.

Example:

/opt/splunk/backup_files
/2021-09-02
/2021-10-15
/2021-10-16

OR

  1. Just clean delete of non matching results.

Kentaage avatar Oct 11 '21 09:10 Kentaage