Skip to content

Commit 88c49f2

Browse files
Added more details (#299)
* Updated docs around - Add Tags: Performance impact of adding tags in events - How to detect slow downstream related issues and event drops
1 parent 735d2ed commit 88c49f2

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ This is recommended for dev environments only.
8181
* `FIREHOSE_KEEP_ALIVE`: Keep alive duration for the Firehose consumer. (Default: 25s)
8282
* `ADD_APP_INFO`: Enrich raw data with app info. A comma separated list of app metadata (AppName,OrgName,OrgGuid,SpaceName,SpaceGuid). (Default: "")
8383
* `ADD_TAGS`: Add additional tags from envelope to splunk event. (Default: false)
84+
(Please note: Adding tags / Enabling this feature may slightly impact the performance due to the increased event size)
8485
* `IGNORE_MISSING_APP`: If the application is missing, then stop repeatedly querying application info from Cloud Foundry. (Default: true)
8586
* `MISSING_APP_CACHE_INVALIDATE_TTL`: How frequently the missing app info cache invalidates (in s/m/h. For example, 3600s or 60m or 1h). (Default: 0s)
8687
* `APP_CACHE_INVALIDATE_TTL`: How frequently the app info local cache invalidates (in s/m/h. For example, 3600s or 60m or 1h). (Default: 0s)
@@ -96,6 +97,7 @@ This is recommended for dev environments only.
9697
* `HEC_WORKERS`: Set the amount of Splunk HEC workers to increase concurrency while ingesting in Splunk. (Default: 8)
9798
* `ENABLE_EVENT_TRACING`: Enables event trace logging. Splunk events will now contain a UUID, Splunk Nozzle Event Counts, and a Subscription-ID for Splunk correlation searches. (Default: false)
9899
* `STATUS_MONITOR_INTERVAL`: Time interval (in s/m/h. For example, 3600s or 60m or 1h) for monitoring memory queue pressure. Use to help with back-pressure insights. (Increases CPU load. Use for insights purposes only) Default is 0s (Disabled).
100+
* `DROP_WARN_THRESHOLD`: Threshold for the count of dropped events in case the downstream is slow. Based on the threshold, the errors will be logged.
99101

100102
- - - -
101103

@@ -376,7 +378,17 @@ As the Splunk Firehose Nozzle sends data to Splunk via HTTPS using the HTTP Even
376378
sourcetype="cf:splunknozzle" "dropping events"
377379
</pre>
378380
379-
### 4. Check for data loss inside the Splunk Firehose Nozzle:
381+
### 4. Check for dropped events due to slow downstream(Network/Splunk):
382+
383+
If the nozzle emits the ‘dropped events’ warning saying that downstream is slow, then the network or Splunk environment might needs to be scaled. (eg. Splunk HEC receiver node, Splunk Indexer, LB etc)
384+
385+
Run the following search to determine if Splunk has indexed any events indicating such issues.
386+
387+
<pre class="terminal">
388+
sourcetype="cf:splunknozzle" "dropped Total of"
389+
</pre>
390+
391+
### 5. Check for data loss inside the Splunk Firehose Nozzle:
380392
381393
If "Event Tracing" is enabled, extra metadata will be attached to events. This allows searches to calculate the percentage of data loss inside the Splunk Firehose Nozzle, if applicable.
382394

0 commit comments

Comments
 (0)