Skip to content

Commit

Permalink
add secret: true to hec_token config_param such that it is redacted…
Browse files Browse the repository at this point in the history
… in the configuration file output (#201)

Signed-off-by: Conor Evans <coevans@tcd.ie>
  • Loading branch information
conorevans authored Dec 14, 2021
1 parent 76c60c2 commit 150e07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/out_splunk_hec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SplunkHecOutput < SplunkOutput
config_param :full_url, :string, default: ''

desc 'The HEC token.'
config_param :hec_token, :string
config_param :hec_token, :string, secret: true

desc 'If a connection has not been used for this number of seconds it will automatically be reset upon the next use to avoid attempting to send to a closed connection. nil means no timeout.'
config_param :idle_timeout, :integer, default: 5
Expand Down

0 comments on commit 150e07d

Please sign in to comment.