Skip to content

Commit

Permalink
Camel Splunk Hec: Token is not part of the URI, it's an endpoint para…
Browse files Browse the repository at this point in the history
…meter (#2319)

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd authored Dec 17, 2024
1 parent 5b97e3e commit 7225fde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion kamelets/splunk-hec-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ spec:
uri: "kamelet:source"
steps:
- to:
uri: "splunk-hec:{{splunkUrl}}/{{token}}"
uri: "splunk-hec:{{splunkUrl}}"
parameters:
host: "{{?hostPayload}}"
token: "{{token}}"
bodyOnly: "{{?bodyOnly}}"
headersOnly: "{{?headersOnly}}"
index: "{{?index}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ spec:
uri: "kamelet:source"
steps:
- to:
uri: "splunk-hec:{{splunkUrl}}/{{token}}"
uri: "splunk-hec:{{splunkUrl}}"
parameters:
host: "{{?hostPayload}}"
token: "{{token}}"
bodyOnly: "{{?bodyOnly}}"
headersOnly: "{{?headersOnly}}"
index: "{{?index}}"
Expand Down

0 comments on commit 7225fde

Please sign in to comment.