Class: DatadogAPIClient::V1::LogsUserAgentParser

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

Overview

The User-Agent parser takes a User-Agent attribute and extracts the OS, browser, device, and other user data. It recognizes major bots like the Google Bot, Yahoo Slurp, and Bing.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



43
44
45
# File 'lib/datadog_api_client/v1/models/logs_user_agent_parser.rb', line 43

def additional_properties
  @additional_properties
end

#is_enabledObject

Whether or not the processor is enabled.



26
27
28
# File 'lib/datadog_api_client/v1/models/logs_user_agent_parser.rb', line 26

def is_enabled
  @is_enabled
end

#is_encodedObject

Define if the source attribute is URL encoded or not.



29
30
31
# File 'lib/datadog_api_client/v1/models/logs_user_agent_parser.rb', line 29

def is_encoded
  @is_encoded
end

#nameObject

Name of the processor.



32
33
34
# File 'lib/datadog_api_client/v1/models/logs_user_agent_parser.rb', line 32

def name
  @name
end

#sourcesObject

Array of source attributes.



35
36
37
# File 'lib/datadog_api_client/v1/models/logs_user_agent_parser.rb', line 35

def sources
  @sources
end

#targetObject

Name of the parent attribute that contains all the extracted details from the ‘sources`.



38
39
40
# File 'lib/datadog_api_client/v1/models/logs_user_agent_parser.rb', line 38

def target
  @target
end

#typeObject

Type of logs User-Agent parser.



41
42
43
# File 'lib/datadog_api_client/v1/models/logs_user_agent_parser.rb', line 41

def type
  @type
end