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
The ``add_env_vars`` processor adds environment variable values to log events.
60
65
66
+
:param enabled: Whether this processor is enabled.
67
+
:type enabled: bool, optional
68
+
61
69
:param id: The unique identifier for this component. Used to reference this processor in the pipeline.
62
70
:type id: str
63
71
64
72
:param include: A Datadog search query used to determine which logs this processor targets.
65
73
:type include: str
66
74
67
-
:param inputs: A list of component IDs whose output is used as the input for this processor.
68
-
:type inputs: [str]
75
+
:param inputs: A list of component IDs whose output is used as input for this processor. Required when used as a standalone processor, omit when used within a processor group.
76
+
:type inputs: [str], optional
69
77
70
78
:param type: The processor type. The value should always be ``add_env_vars``.
The ``add_fields`` processor adds static key-value fields to logs.
56
61
62
+
:param enabled: Whether this processor is enabled.
63
+
:type enabled: bool, optional
64
+
57
65
:param fields: A list of static fields (key-value pairs) that is added to each log event processed by this component.
58
66
:type fields: [ObservabilityPipelineFieldValue]
59
67
@@ -63,16 +71,19 @@ def __init__(
63
71
:param include: A Datadog search query used to determine which logs this processor targets.
64
72
:type include: str
65
73
66
-
:param inputs: A list of component IDs whose output is used as the ``input`` for this component.
67
-
:type inputs: [str]
74
+
:param inputs: A list of component IDs whose output is used as input for this processor. Required when used as a standalone processor, omit when used within a processor group.
75
+
:type inputs: [str], optional
68
76
69
77
:param type: The processor type. The value should always be ``add_fields``.
0 commit comments