You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/datadog_api_client/v2/model/custom_destination_forward_destination.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,10 @@ def __init__(self, **kwargs):
30
30
31
31
:param sourcetype: The Splunk sourcetype for the events sent to this Splunk destination.
32
32
33
-
If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype`
34
-
field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string
35
-
value is used as the sourcetype.
33
+
If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype `_json` is used.
34
+
On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept.
35
+
If set to `null`, the sourcetype field is omitted from the forwarded event entirely.
36
+
Otherwise, the provided string value is used as the sourcetype.
36
37
:type sourcetype: str, none_type, optional
37
38
38
39
:param index_name: Name of the Elasticsearch index (must follow [Elasticsearch's criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)).
Copy file name to clipboardExpand all lines: src/datadog_api_client/v2/model/custom_destination_response_forward_destination.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,10 @@ def __init__(self, **kwargs):
27
27
28
28
:param sourcetype: The Splunk sourcetype for the events sent to this Splunk destination.
29
29
30
-
If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype`
31
-
field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string
32
-
value is used as the sourcetype.
30
+
If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype `_json` is used.
31
+
On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept.
32
+
If set to `null`, the sourcetype field is omitted from the forwarded event entirely.
33
+
Otherwise, the provided string value is used as the sourcetype.
33
34
:type sourcetype: str, none_type, optional
34
35
35
36
:param index_name: Name of the Elasticsearch index (must follow [Elasticsearch's criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)).
0 commit comments