Skip to content

Commit

Permalink
x-pack/filebeat/docs/inputs/cel: fix basic auth example (#36903) (#36933
Browse files Browse the repository at this point in the history
)

The previous example refers to the httpjson mechanism.

(cherry picked from commit 11f4dee)

Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
  • Loading branch information
mergify[bot] and efd6 authored Oct 23, 2023
1 parent a0e7f5d commit 96814a4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions x-pack/filebeat/docs/inputs/input-cel.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,10 @@ Example configurations with authentication:
----
filebeat.inputs:
- type: cel
auth.basic:
user: user@domain.tld
password: P@$$W0₹D
resource.url: http://localhost
request.transforms:
- set:
target: header.Authorization
value: 'Basic aGVsbG86d29ybGQ='
----

["source","yaml",subs="attributes"]
Expand Down

0 comments on commit 96814a4

Please sign in to comment.