Expired authentication credentials: automatic reconnection or pipeline restart required?
0 reputation · 20 May 2023, 07:02 UTC
Authentication behavior when credentials expire
Logstash enforces least-privilege authentication through TLS/SSL certificates for inputs such as Beats and TCP, and for outputs. When a username/password pair or an X.509 certificate expires, the affected input or output fails to authenticate. The documented behavior logs an authentication error and leaves the pipeline in a degraded state, but it is not specified whether the component should automatically retry with refreshed credentials or remain disabled until the pipeline is restarted.
Version-dependent constraints
Authentication mechanisms were tightened in Logstash 8.x, and behavior may differ from 7.x releases. Deprecated input plugins without proper TLS settings can also undermine least-privilege guarantees, adding uncertainty to the expected retry semantics.
What is the intended behavior when credentials expire during a running pipeline? Does Logstash attempt automatic reconnection with updated credentials, or must the pipeline be restarted? Are there configuration options that control this retry policy?