Skip to content

Commit c25b513

Browse files
[Logs] Fix format and clarify example (#26205)
* Fix format and clarify example * Add example * Update src/content/docs/logs/logpush/logpush-job/enable-destinations/splunk.mdx Co-authored-by: Pedro Sousa <[email protected]> * Corrects example --------- Co-authored-by: Pedro Sousa <[email protected]>
1 parent 94da6c6 commit c25b513

File tree

1 file changed

+6
-6
lines changed
  • src/content/docs/logs/logpush/logpush-job/enable-destinations

1 file changed

+6
-6
lines changed

src/content/docs/logs/logpush/logpush-job/enable-destinations/splunk.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The [HTTP Event Collector (HEC)](https://dev.splunk.com/enterprise/docs/devtools
2121
5. Enter or select the following destination information:
2222
- **Splunk HEC URL**
2323
- **Channel ID** - This is a random GUID that you can generate using [guidgenerator.com](https://guidgenerator.com/).
24-
- **Auth Token** - Event Collector token.
24+
- **Auth Token** - Event Collector token prefixed with the word `Splunk`. For example: `Splunk 1234EXAMPLEKEY`.
2525
- **Source Type** - For example, `cloudflare:json`. If you are using the [Cloudflare App for Splunk](https://splunkbase.splunk.com/app/4501), refer to the appropriate source type for the corresponding datasets under the **Details** section. For instance, for Zero Trust Access requests logs, the source type is `cloudflare:access`.
2626
- **Use insecure skip verify option** (not recommended).
2727

@@ -69,12 +69,12 @@ To create a job, make a `POST` request to the Logpush jobs endpoint with the fol
6969
- Using the command line. For example: `python -c 'import uuid; print(uuid.uuid4())'`.
7070
- **\<INSECURE_SKIP_VERIFY>**: Boolean value. Cloudflare recommends setting this value to `false`. Setting this value to `true` is equivalent to using the `-k` option with `curl` as shown in Splunk examples and is **not** recommended. Only set this value to `true` when HEC uses a self-signed certificate.
7171

72-
:::note
73-
Cloudflare highly recommends setting this value to <code class="InlineCode">false</code>. Refer to the [Logpush FAQ](/logs/faq/logpush/) for more information.
74-
:::
72+
:::note
73+
Cloudflare highly recommends setting this value to `false`. Refer to the [Logpush FAQ](/logs/faq/logpush/) for more information.
74+
:::
7575

76-
- `<SOURCE_TYPE>`: The Splunk source type. For example: `cloudflare:json`.
77-
- `<SPLUNK_AUTH_TOKEN>`: The Splunk authorization token that is URL-encoded. For example: `Splunk%20e6d94e8c-5792-4ad1-be3c-29bcaee0197d`.
76+
- **\<SOURCE_TYPE>**: The Splunk source type. For example: `cloudflare:json`.
77+
- **\<SPLUNK_AUTH_TOKEN>**: The Splunk authorization token that is URL-encoded and must be prefixed with the word `Splunk`. For example: `Splunk e6d94e8c-5792-4ad1-be3c-29bcaee0197d`.
7878

7979
```bash
8080
"splunk://<SPLUNK_ENDPOINT_URL>?channel=<SPLUNK_CHANNEL_ID>&insecure-skip-verify=<INSECURE_SKIP_VERIFY>&sourcetype=<SOURCE_TYPE>&header_Authorization=<SPLUNK_AUTH_TOKEN>"

0 commit comments

Comments
 (0)