Name | Type | Description | Notes |
---|---|---|---|
Attributes | Pointer to map[string]interface{} | JSON object of attributes from your log. | [optional] |
Host | Pointer to string | Name of the machine from where the logs are being sent. | [optional] |
Message | Pointer to string | The message reserved attribute 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 | Pointer to 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] |
Status | Pointer to string | Status of the message associated with your log. | [optional] |
Tags | Pointer to []string | Array of tags associated with your log. | [optional] |
Timestamp | Pointer to time.Time | Timestamp of your log. | [optional] |
func NewLogAttributes() *LogAttributes
NewLogAttributes instantiates a new LogAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogAttributesWithDefaults() *LogAttributes
NewLogAttributesWithDefaults instantiates a new LogAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (o *LogAttributes) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *LogAttributes) GetAttributesOk() (*map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogAttributes) SetAttributes(v map[string]interface{})
SetAttributes sets Attributes field to given value.
func (o *LogAttributes) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *LogAttributes) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *LogAttributes) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogAttributes) SetHost(v string)
SetHost sets Host field to given value.
func (o *LogAttributes) HasHost() bool
HasHost returns a boolean if a field has been set.
func (o *LogAttributes) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *LogAttributes) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogAttributes) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *LogAttributes) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (o *LogAttributes) GetService() string
GetService returns the Service field if non-nil, zero value otherwise.
func (o *LogAttributes) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogAttributes) SetService(v string)
SetService sets Service field to given value.
func (o *LogAttributes) HasService() bool
HasService returns a boolean if a field has been set.
func (o *LogAttributes) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *LogAttributes) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogAttributes) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *LogAttributes) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *LogAttributes) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *LogAttributes) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogAttributes) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *LogAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *LogAttributes) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *LogAttributes) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogAttributes) SetTimestamp(v time.Time)
SetTimestamp sets Timestamp field to given value.
func (o *LogAttributes) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.