Loading

rtfctl Fails to Audit Command with Secret Log Too Long Warning

Fecha de publicación: Oct 29, 2026
Requisitos previos
rtfctl 1.0.150, Kubernetes Secret named log, rtfctl-audit namespace, Hyperforce - USA1160
Tarea
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?
Pasos

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
Número del artículo de conocimiento

005465510

 
Cargando
Salesforce Help | Article