Sha256: c23e44adf9157f87cbf42ef6a974c936db296cc49673a3cacf87113185364afb

Contents?: true

Size: 1.35 KB

Versions: 7

Compression:

Stored size: 1.35 KB

Contents

# DatadogAPIClient::V1::LogContent

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **attributes** | **Hash<String, Object>** | JSON object of attributes from your log. | [optional] |
| **host** | **String** | Name of the machine from where the logs are being sent. | [optional] |
| **message** | **String** | The message [reserved attribute](https://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. | [optional] |
| **service** | **String** | 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. | [optional] |
| **tags** | **Array<Object>** | Array of tags associated with your log. | [optional] |
| **timestamp** | **Time** | Timestamp of your log. | [optional] |

## Example

```ruby
require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::LogContent.new(
  attributes: {"customAttribute":123,"duration":2345},
  host: i-0123,
  message: Host connected to remote,
  service: agent,
  tags: ["team:A"],
  timestamp: 2020-05-26T13:36:14Z
)
```

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
datadog_api_client-1.4.0 docs/v1/LogContent.md
datadog_api_client-1.3.0 docs/v1/LogContent.md
datadog_api_client-1.2.0 docs/v1/LogContent.md
datadog_api_client-1.1.0 docs/v1/LogContent.md
datadog_api_client-1.0.0 docs/v1/LogContent.md
datadog_api_client-1.0.0.beta.3 docs/v1/LogContent.md
datadog_api_client-1.0.0.beta.2 docs/v1/LogContent.md