@@ -50,6 +50,7 @@ def openapi_types(_):
5050 "endpoint_url_key" : (str ,),
5151 "id" : (str ,),
5252 "index" : (str ,),
53+ "indexed_fields" : ([str ],),
5354 "inputs" : ([str ],),
5455 "sourcetype" : (str ,),
5556 "token_key" : (str ,),
@@ -63,6 +64,7 @@ def openapi_types(_):
6364 "endpoint_url_key" : "endpoint_url_key" ,
6465 "id" : "id" ,
6566 "index" : "index" ,
67+ "indexed_fields" : "indexed_fields" ,
6668 "inputs" : "inputs" ,
6769 "sourcetype" : "sourcetype" ,
6870 "token_key" : "token_key" ,
@@ -85,6 +87,7 @@ def __init__(
8587 encoding : Union [ObservabilityPipelineSplunkHecDestinationEncoding , UnsetType ] = unset ,
8688 endpoint_url_key : Union [str , UnsetType ] = unset ,
8789 index : Union [str , UnsetType ] = unset ,
90+ indexed_fields : Union [List [str ], UnsetType ] = unset ,
8891 sourcetype : Union [str , UnsetType ] = unset ,
8992 token_key : Union [str , UnsetType ] = unset ,
9093 ** kwargs ,
@@ -113,6 +116,9 @@ def __init__(
113116 :param index: Optional name of the Splunk index where logs are written.
114117 :type index: str, optional
115118
119+ :param indexed_fields: List of log field names to send as indexed fields to Splunk HEC. Available only when ``encoding`` is ``json``.
120+ :type indexed_fields: [str], optional
121+
116122 :param inputs: A list of component IDs whose output is used as the ``input`` for this component.
117123 :type inputs: [str]
118124
@@ -135,6 +141,8 @@ def __init__(
135141 kwargs ["endpoint_url_key" ] = endpoint_url_key
136142 if index is not unset :
137143 kwargs ["index" ] = index
144+ if indexed_fields is not unset :
145+ kwargs ["indexed_fields" ] = indexed_fields
138146 if sourcetype is not unset :
139147 kwargs ["sourcetype" ] = sourcetype
140148 if token_key is not unset :
0 commit comments