This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 35c5c1a69f43cecab785fd75bc281ab71ea4dba4 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Wed Feb 21 18:18:02 2024 +0100 CAMEL-20410: documentation fixes for camel-splunk-hec - Fixed samples - Fixed grammar and typos - Fixed punctuation - Added and/or fixed links - Converted to use tabs --- .../camel-splunk-hec/src/main/docs/splunk-hec-component.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/camel-splunk-hec/src/main/docs/splunk-hec-component.adoc b/components/camel-splunk-hec/src/main/docs/splunk-hec-component.adoc index 6a08c12aefd..ef6ef5f0195 100644 --- a/components/camel-splunk-hec/src/main/docs/splunk-hec-component.adoc +++ b/components/camel-splunk-hec/src/main/docs/splunk-hec-component.adoc @@ -14,7 +14,7 @@ *{component-header}* -The Splunk HEC component allows to send data to Splunk using the +The Splunk HEC component allows sending data to Splunk using the https://dev.splunk.com/enterprise/docs/dataapps/httpeventcollector/[HTTP Event Collector]. Maven users will need to add the following dependency to their pom.xml @@ -55,14 +55,14 @@ include::partial$component-endpoint-headers.adoc[] // component headers: END == Message body -The body must be serializable to JSON so it may be sent to Splunk. +The body must be serializable to JSON, so it may be sent to Splunk. A `String` or a `java.util.Map` object can be serialized easily. == Use Cases The Splunk HEC endpoint may be used to stream data to Splunk for ingestion. -It is meant for high volume ingestion of machine data. +It is meant for high-volume ingestion of machine data. == Configuring the index time @@ -75,9 +75,9 @@ from("direct:start") .to("splunk-hec://localhost:8080?token=token"); ------------------------------- -If you are ingesting a large enough dataset with a big enough lag then the time +If you are ingesting a large enough dataset with a big enough lag, then the time the event hits the server and when that event actually happened could be skewed. If -you want to override the index time you can do so. +you want to override the index time, you can do so. [source,java] -------------------------------