Class: DatadogAPIClient::V1::LogsGrokParser
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::LogsGrokParser
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/logs_grok_parser.rb
Overview
Create custom grok rules to parse the full message or [a specific attribute of your raw event](docs.datadoghq.com/logs/log_configuration/parsing/#advanced-settings). For more information, see the [parsing section](docs.datadoghq.com/logs/log_configuration/parsing).
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#grok ⇒ Object
readonly
Set of rules for the grok parser.
-
#is_enabled ⇒ Object
Whether or not the processor is enabled.
-
#name ⇒ Object
Name of the processor.
-
#samples ⇒ Object
readonly
List of sample logs to test this grok parser.
-
#source ⇒ Object
readonly
Name of the log attribute to parse.
-
#type ⇒ Object
readonly
Type of logs grok parser.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/logs_grok_parser.rb', line 43 def additional_properties @additional_properties end |
#grok ⇒ Object
Set of rules for the grok parser.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/logs_grok_parser.rb', line 26 def grok @grok end |
#is_enabled ⇒ Object
Whether or not the processor is enabled.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/logs_grok_parser.rb', line 29 def is_enabled @is_enabled end |
#name ⇒ Object
Name of the processor.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/logs_grok_parser.rb', line 32 def name @name end |
#samples ⇒ Object
List of sample logs to test this grok parser.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/logs_grok_parser.rb', line 35 def samples @samples end |
#source ⇒ Object
Name of the log attribute to parse.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/logs_grok_parser.rb', line 38 def source @source end |
#type ⇒ Object
Type of logs grok parser.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/logs_grok_parser.rb', line 41 def type @type end |