UpsertLogAnalyticsParserDetails

class oci.log_analytics.models.UpsertLogAnalyticsParserDetails(**kwargs)

Bases: object

Attributes:

TYPE_DELIMITED

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails.

TYPE_JSON

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails.

TYPE_ODL

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails.

TYPE_REGEX

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails.

TYPE_XML

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails.

categories

Gets the categories of this UpsertLogAnalyticsParserDetails.

content

Gets the content of this UpsertLogAnalyticsParserDetails.

description

Gets the description of this UpsertLogAnalyticsParserDetails.

display_name

Gets the display_name of this UpsertLogAnalyticsParserDetails.

edit_version

Gets the edit_version of this UpsertLogAnalyticsParserDetails.

encoding

Gets the encoding of this UpsertLogAnalyticsParserDetails.

example_content

Gets the example_content of this UpsertLogAnalyticsParserDetails.

field_delimiter

Gets the field_delimiter of this UpsertLogAnalyticsParserDetails.

field_maps

Gets the field_maps of this UpsertLogAnalyticsParserDetails.

field_qualifier

Gets the field_qualifier of this UpsertLogAnalyticsParserDetails.

footer_content

Gets the footer_content of this UpsertLogAnalyticsParserDetails.

header_content

Gets the header_content of this UpsertLogAnalyticsParserDetails.

is_default

Gets the is_default of this UpsertLogAnalyticsParserDetails.

is_namespace_aware

Gets the is_namespace_aware of this UpsertLogAnalyticsParserDetails.

is_parser_written_once

Gets the is_parser_written_once of this UpsertLogAnalyticsParserDetails.

is_position_aware

Gets the is_position_aware of this UpsertLogAnalyticsParserDetails.

is_single_line_content

Gets the is_single_line_content of this UpsertLogAnalyticsParserDetails.

is_system

Gets the is_system of this UpsertLogAnalyticsParserDetails.

language

Gets the language of this UpsertLogAnalyticsParserDetails.

log_type_test_request_version

Gets the log_type_test_request_version of this UpsertLogAnalyticsParserDetails.

name

Gets the name of this UpsertLogAnalyticsParserDetails.

parser_functions

Gets the parser_functions of this UpsertLogAnalyticsParserDetails.

parser_ignoreline_characters

Gets the parser_ignoreline_characters of this UpsertLogAnalyticsParserDetails.

parser_sequence

Gets the parser_sequence of this UpsertLogAnalyticsParserDetails.

parser_timezone

Gets the parser_timezone of this UpsertLogAnalyticsParserDetails.

should_tokenize_original_text

Gets the should_tokenize_original_text of this UpsertLogAnalyticsParserDetails.

type

Gets the type of this UpsertLogAnalyticsParserDetails.

Methods:

__init__(**kwargs)

Initializes a new UpsertLogAnalyticsParserDetails object with values from keyword arguments.

TYPE_DELIMITED = 'DELIMITED'

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails. This constant has a value of “DELIMITED”

TYPE_JSON = 'JSON'

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails. This constant has a value of “JSON”

TYPE_ODL = 'ODL'

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails. This constant has a value of “ODL”

TYPE_REGEX = 'REGEX'

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails. This constant has a value of “REGEX”

TYPE_XML = 'XML'

A constant which can be used with the type property of a UpsertLogAnalyticsParserDetails. This constant has a value of “XML”

__init__(**kwargs)

Initializes a new UpsertLogAnalyticsParserDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • content (str) – The value to assign to the content property of this UpsertLogAnalyticsParserDetails.

  • description (str) – The value to assign to the description property of this UpsertLogAnalyticsParserDetails.

  • display_name (str) – The value to assign to the display_name property of this UpsertLogAnalyticsParserDetails.

  • edit_version (int) – The value to assign to the edit_version property of this UpsertLogAnalyticsParserDetails.

  • encoding (str) – The value to assign to the encoding property of this UpsertLogAnalyticsParserDetails.

  • example_content (str) – The value to assign to the example_content property of this UpsertLogAnalyticsParserDetails.

  • field_maps (list[oci.log_analytics.models.LogAnalyticsParserField]) – The value to assign to the field_maps property of this UpsertLogAnalyticsParserDetails.

  • footer_content (str) – The value to assign to the footer_content property of this UpsertLogAnalyticsParserDetails.

  • header_content (str) – The value to assign to the header_content property of this UpsertLogAnalyticsParserDetails.

  • name (str) – The value to assign to the name property of this UpsertLogAnalyticsParserDetails.

  • is_default (bool) – The value to assign to the is_default property of this UpsertLogAnalyticsParserDetails.

  • is_single_line_content (bool) – The value to assign to the is_single_line_content property of this UpsertLogAnalyticsParserDetails.

  • is_system (bool) – The value to assign to the is_system property of this UpsertLogAnalyticsParserDetails.

  • language (str) – The value to assign to the language property of this UpsertLogAnalyticsParserDetails.

  • log_type_test_request_version (int) – The value to assign to the log_type_test_request_version property of this UpsertLogAnalyticsParserDetails.

  • parser_ignoreline_characters (str) – The value to assign to the parser_ignoreline_characters property of this UpsertLogAnalyticsParserDetails.

  • parser_sequence (int) – The value to assign to the parser_sequence property of this UpsertLogAnalyticsParserDetails.

  • parser_timezone (str) – The value to assign to the parser_timezone property of this UpsertLogAnalyticsParserDetails.

  • is_parser_written_once (bool) – The value to assign to the is_parser_written_once property of this UpsertLogAnalyticsParserDetails.

  • parser_functions (list[oci.log_analytics.models.LogAnalyticsParserFunction]) – The value to assign to the parser_functions property of this UpsertLogAnalyticsParserDetails.

  • should_tokenize_original_text (bool) – The value to assign to the should_tokenize_original_text property of this UpsertLogAnalyticsParserDetails.

  • field_delimiter (str) – The value to assign to the field_delimiter property of this UpsertLogAnalyticsParserDetails.

  • field_qualifier (str) – The value to assign to the field_qualifier property of this UpsertLogAnalyticsParserDetails.

  • type (str) – The value to assign to the type property of this UpsertLogAnalyticsParserDetails. Allowed values for this property are: “XML”, “JSON”, “REGEX”, “ODL”, “DELIMITED”

  • is_namespace_aware (bool) – The value to assign to the is_namespace_aware property of this UpsertLogAnalyticsParserDetails.

  • categories (list[oci.log_analytics.models.LogAnalyticsCategory]) – The value to assign to the categories property of this UpsertLogAnalyticsParserDetails.

  • is_position_aware (bool) – The value to assign to the is_position_aware property of this UpsertLogAnalyticsParserDetails.

property categories

Gets the categories of this UpsertLogAnalyticsParserDetails. An array of categories to assign to the parser. Specifying the name attribute for each category would suffice. Oracle-defined category assignments cannot be removed.

Returns

The categories of this UpsertLogAnalyticsParserDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsCategory]

property content

Gets the content of this UpsertLogAnalyticsParserDetails. The content.

Returns

The content of this UpsertLogAnalyticsParserDetails.

Return type

str

property description

Gets the description of this UpsertLogAnalyticsParserDetails. The parser description.

Returns

The description of this UpsertLogAnalyticsParserDetails.

Return type

str

property display_name

Gets the display_name of this UpsertLogAnalyticsParserDetails. The parser display name.

Returns

The display_name of this UpsertLogAnalyticsParserDetails.

Return type

str

property edit_version

Gets the edit_version of this UpsertLogAnalyticsParserDetails. The parser edit version.

Returns

The edit_version of this UpsertLogAnalyticsParserDetails.

Return type

int

property encoding

Gets the encoding of this UpsertLogAnalyticsParserDetails. The encoding.

Returns

The encoding of this UpsertLogAnalyticsParserDetails.

Return type

str

property example_content

Gets the example_content of this UpsertLogAnalyticsParserDetails. Example content.

Returns

The example_content of this UpsertLogAnalyticsParserDetails.

Return type

str

property field_delimiter

Gets the field_delimiter of this UpsertLogAnalyticsParserDetails. The parser field delimiter.

Returns

The field_delimiter of this UpsertLogAnalyticsParserDetails.

Return type

str

property field_maps

Gets the field_maps of this UpsertLogAnalyticsParserDetails. The parser fields.

Returns

The field_maps of this UpsertLogAnalyticsParserDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsParserField]

property field_qualifier

Gets the field_qualifier of this UpsertLogAnalyticsParserDetails. The parser field qualifier.

Returns

The field_qualifier of this UpsertLogAnalyticsParserDetails.

Return type

str

property footer_content

Gets the footer_content of this UpsertLogAnalyticsParserDetails. The footer regular expression.

Returns

The footer_content of this UpsertLogAnalyticsParserDetails.

Return type

str

property header_content

Gets the header_content of this UpsertLogAnalyticsParserDetails. The header content.

Returns

The header_content of this UpsertLogAnalyticsParserDetails.

Return type

str

property is_default

Gets the is_default of this UpsertLogAnalyticsParserDetails. A flag indicating if this is a default parser.

Returns

The is_default of this UpsertLogAnalyticsParserDetails.

Return type

bool

property is_namespace_aware

Gets the is_namespace_aware of this UpsertLogAnalyticsParserDetails. A flag indicating whether the XML parser should consider the namespace(s) while processing the log data.

Returns

The is_namespace_aware of this UpsertLogAnalyticsParserDetails.

Return type

bool

property is_parser_written_once

Gets the is_parser_written_once of this UpsertLogAnalyticsParserDetails. A flag indicating whether or not the parser is write once.

Returns

The is_parser_written_once of this UpsertLogAnalyticsParserDetails.

Return type

bool

property is_position_aware

Gets the is_position_aware of this UpsertLogAnalyticsParserDetails. A flag indicating whether the parser is positionally aware.

Returns

The is_position_aware of this UpsertLogAnalyticsParserDetails.

Return type

bool

property is_single_line_content

Gets the is_single_line_content of this UpsertLogAnalyticsParserDetails. A flag indicating if this is a single line content parser.

Returns

The is_single_line_content of this UpsertLogAnalyticsParserDetails.

Return type

bool

property is_system

Gets the is_system of this UpsertLogAnalyticsParserDetails. The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.

Returns

The is_system of this UpsertLogAnalyticsParserDetails.

Return type

bool

property language

Gets the language of this UpsertLogAnalyticsParserDetails. The language.

Returns

The language of this UpsertLogAnalyticsParserDetails.

Return type

str

property log_type_test_request_version

Gets the log_type_test_request_version of this UpsertLogAnalyticsParserDetails. The log type test request version.

Returns

The log_type_test_request_version of this UpsertLogAnalyticsParserDetails.

Return type

int

property name

Gets the name of this UpsertLogAnalyticsParserDetails. The parser internal name.

Returns

The name of this UpsertLogAnalyticsParserDetails.

Return type

str

property parser_functions

Gets the parser_functions of this UpsertLogAnalyticsParserDetails. The parser function list.

Returns

The parser_functions of this UpsertLogAnalyticsParserDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsParserFunction]

property parser_ignoreline_characters

Gets the parser_ignoreline_characters of this UpsertLogAnalyticsParserDetails. The line characters for the parser to ignore.

Returns

The parser_ignoreline_characters of this UpsertLogAnalyticsParserDetails.

Return type

str

property parser_sequence

Gets the parser_sequence of this UpsertLogAnalyticsParserDetails. The parser sequence.

Returns

The parser_sequence of this UpsertLogAnalyticsParserDetails.

Return type

int

property parser_timezone

Gets the parser_timezone of this UpsertLogAnalyticsParserDetails. The time zone.

Returns

The parser_timezone of this UpsertLogAnalyticsParserDetails.

Return type

str

property should_tokenize_original_text

Gets the should_tokenize_original_text of this UpsertLogAnalyticsParserDetails. A flag indicating whether or not to tokenize the original text.

Returns

The should_tokenize_original_text of this UpsertLogAnalyticsParserDetails.

Return type

bool

property type

Gets the type of this UpsertLogAnalyticsParserDetails. The parser type. Default value is REGEX.

Allowed values for this property are: “XML”, “JSON”, “REGEX”, “ODL”, “DELIMITED”

Returns

The type of this UpsertLogAnalyticsParserDetails.

Return type

str