This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-splunk-hec-fix-4.8.x in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 2d71b228811675fc49d852f7fe82562f14d42beb Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Dec 17 18:32:55 2024 +0100 Camel Splunk Hec: Token is not part of the URI, it's an endpoint parameter Signed-off-by: Andrea Cosentino <[email protected]> --- kamelets/splunk-hec-sink.kamelet.yaml | 3 ++- .../src/main/resources/kamelets/splunk-hec-sink.kamelet.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kamelets/splunk-hec-sink.kamelet.yaml b/kamelets/splunk-hec-sink.kamelet.yaml index 35547913..891b31b6 100644 --- a/kamelets/splunk-hec-sink.kamelet.yaml +++ b/kamelets/splunk-hec-sink.kamelet.yaml @@ -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}}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/splunk-hec-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/splunk-hec-sink.kamelet.yaml index 35547913..891b31b6 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/splunk-hec-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/splunk-hec-sink.kamelet.yaml @@ -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}}"
