Class: DatadogAPIClient::V2::CustomDestinationUpdateRequestAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb

Overview

The attributes associated with the custom destination.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#enabledObject

Whether logs matching this custom destination should be forwarded or not.



25
26
27
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 25

def enabled
  @enabled
end

#forward_tagsObject

Whether tags from the forwarded logs should be forwarded or not.



28
29
30
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 28

def forward_tags
  @forward_tags
end

#forward_tags_restriction_listObject

List of keys of tags to be restricted from being forwarded. An empty list represents no restriction is in place and either all or no tags will be forwarded depending on forward_tags_restriction_list_type parameter.



32
33
34
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 32

def forward_tags_restriction_list
  @forward_tags_restriction_list
end

#forward_tags_restriction_list_typeObject

How forward_tags_restriction_list parameter should be interpreted. If ALLOW_LIST, then only tags whose keys on the forwarded logs match the ones on the restriction list are forwarded.

BLOCK_LIST works the opposite way. It does not forward the tags matching the ones on the list.



39
40
41
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 39

def forward_tags_restriction_list_type
  @forward_tags_restriction_list_type
end

#forwarder_destinationObject

A custom destination's location to forward logs.



42
43
44
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 42

def forwarder_destination
  @forwarder_destination
end

#nameObject

The custom destination name.



45
46
47
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 45

def name
  @name
end

#queryObject

The custom destination query and filter. Logs matching this query are forwarded to the destination.



48
49
50
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 48

def query
  @query
end