Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-204

Agent side file expiration/removal

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.2.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      We have a shell script in order to expire files older than x days.
      The idea is to move this to ChukwaAgent in order to reduce the number of daemon running and the overall complexity.

      This could be done in a background/low priority Cleanup Thread inside the agent.
      The input should be a configuration file with:

      • path + fileName + regex (similar to the expiration in our Log4J appender)
      • number of days (last accessed/modified? date)

      The initial version could be as simple as this but a more advanced version will be needed.
      The advanced version should be able to track data completeness based on CHUKWA-203 and only remove file that has been completely sent over or generate alerts.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jboulon Jerome Boulon
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: