Class: DatadogAPIClient::V1::HTTPLogItem
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::HTTPLogItem
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/http_log_item.rb
Overview
Logs that are sent over HTTP.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#ddsource ⇒ Object
The integration name associated with your log: the technology from which the log originated.
-
#ddtags ⇒ Object
Tags associated with your logs.
-
#hostname ⇒ Object
The name of the originating host of the log.
-
#message ⇒ Object
readonly
The message [reserved attribute](docs.datadoghq.com/logs/log_collection/#reserved-attributes) of your log.
-
#service ⇒ Object
The name of the application or service generating the log events.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
45 46 47 |
# File 'lib/datadog_api_client/v1/models/http_log_item.rb', line 45 def additional_properties @additional_properties end |
#ddsource ⇒ Object
The integration name associated with your log: the technology from which the log originated. When it matches an integration name, Datadog automatically installs the corresponding parsers and facets. See [reserved attributes](docs.datadoghq.com/logs/log_collection/#reserved-attributes).
27 28 29 |
# File 'lib/datadog_api_client/v1/models/http_log_item.rb', line 27 def ddsource @ddsource end |
#ddtags ⇒ Object
Tags associated with your logs.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/http_log_item.rb', line 30 def @ddtags end |
#hostname ⇒ Object
The name of the originating host of the log.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/http_log_item.rb', line 33 def hostname @hostname end |
#message ⇒ Object
The message [reserved attribute](docs.datadoghq.com/logs/log_collection/#reserved-attributes) of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/http_log_item.rb', line 38 def @message end |
#service ⇒ Object
The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products. See [reserved attributes](docs.datadoghq.com/logs/log_collection/#reserved-attributes).
43 44 45 |
# File 'lib/datadog_api_client/v1/models/http_log_item.rb', line 43 def service @service end |