Loading

rtfctl Fails to Audit Command with Secret Log Too Long Warning

Date de publication: Oct 29, 2026
Prérequis
rtfctl 1.0.150, Kubernetes Secret named log, rtfctl-audit namespace, Hyperforce - USA1160
Tâche
Why does rtfctl display a Failed to audit the command warning with Secret log is invalid: data: Too long: may not be more than 1048576 bytes, even though the command runs successfully?
Étapes

Follow these steps to remove an oversized audit Secret.

  1. Identify the namespace that contains the audit Secret. Run: kubectl get secret log -A
  2. Optionally back up the existing audit history before clearing the Secret. Run: ./rtfctl audit-logs > rtfctl-audit-backup.json
  3. Delete the oversized log Secret from the correct namespace. Run: kubectl delete secret log -n <namespace>
  4. Allow rtfctl to recreate the log Secret automatically by running any rtfctl command. Example: ./rtfctl version
Numéro d’article de la base de connaissances

005465510

 
Chargement
Salesforce Help | Article