AbstractCommandDescriptor¶
-
class
oci.log_analytics.models.AbstractCommandDescriptor(**kwargs)¶ Bases:
objectGeneric command descriptor defining all attributes common to all querylanguage commands for parse output.
Attributes
NAME_ADD_FIELDSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_ADD_INSIGHTSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_ANOMALYA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_BOTTOMA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_BUCKETA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_CLASSIFYA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_CLUSTERA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_CLUSTER_COMPAREA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_CLUSTER_DETAILSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_CLUSTER_SPLITA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_COMMANDA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_COMPAREA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_CREATETABLEA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_CREATE_VIEWA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_DEDUPA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_DELETEA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_DELTAA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_DEMO_MODEA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_DISTINCTA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_EVALA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_EVENT_STATSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_EXTRACTA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_FIELDSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_FIELD_SUMMARYA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_FREQUENTA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_GEO_STATSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_HEADA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_HIGHLIGHTA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_HIGHLIGHT_GROUPSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_HIGHLIGHT_ROWSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_JSON_EXTRACTA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_LINKA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_LINK_DETAILSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_LOOKUPA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_MACROA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_MAPA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_MODULEA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_MULTI_SEARCHA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_NLPA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_OUTLIERA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_RAREA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_REGEXA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_RENAMEA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_SEARCHA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_SEARCH_LOOKUPA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_SEQUENCEA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_SORTA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_STATSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_TAILA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_TIME_CLUSTERA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_TIME_COMPAREA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_TIME_STATSA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_TOPA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_UPDATETABLEA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_WHEREA constant which can be used with the name property of a AbstractCommandDescriptor. NAME_XML_EXTRACTA constant which can be used with the name property of a AbstractCommandDescriptor. categoryGets the category of this AbstractCommandDescriptor. declared_fieldsGets the declared_fields of this AbstractCommandDescriptor. display_query_string[Required] Gets the display_query_string of this AbstractCommandDescriptor. internal_query_string[Required] Gets the internal_query_string of this AbstractCommandDescriptor. is_hiddenGets the is_hidden of this AbstractCommandDescriptor. name[Required] Gets the name of this AbstractCommandDescriptor. referenced_fieldsGets the referenced_fields of this AbstractCommandDescriptor. Methods
__init__(**kwargs)Initializes a new AbstractCommandDescriptor object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
NAME_ADD_FIELDS= 'ADD_FIELDS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “ADD_FIELDS”
-
NAME_ADD_INSIGHTS= 'ADD_INSIGHTS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “ADD_INSIGHTS”
-
NAME_ANOMALY= 'ANOMALY'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “ANOMALY”
-
NAME_BOTTOM= 'BOTTOM'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “BOTTOM”
-
NAME_BUCKET= 'BUCKET'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “BUCKET”
-
NAME_CLASSIFY= 'CLASSIFY'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “CLASSIFY”
-
NAME_CLUSTER= 'CLUSTER'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “CLUSTER”
-
NAME_CLUSTER_COMPARE= 'CLUSTER_COMPARE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “CLUSTER_COMPARE”
-
NAME_CLUSTER_DETAILS= 'CLUSTER_DETAILS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “CLUSTER_DETAILS”
-
NAME_CLUSTER_SPLIT= 'CLUSTER_SPLIT'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “CLUSTER_SPLIT”
-
NAME_COMMAND= 'COMMAND'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “COMMAND”
-
NAME_COMPARE= 'COMPARE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “COMPARE”
-
NAME_CREATETABLE= 'CREATETABLE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “CREATETABLE”
-
NAME_CREATE_VIEW= 'CREATE_VIEW'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “CREATE_VIEW”
-
NAME_DEDUP= 'DEDUP'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “DEDUP”
-
NAME_DELETE= 'DELETE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “DELETE”
-
NAME_DELTA= 'DELTA'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “DELTA”
-
NAME_DEMO_MODE= 'DEMO_MODE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “DEMO_MODE”
-
NAME_DISTINCT= 'DISTINCT'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “DISTINCT”
-
NAME_EVAL= 'EVAL'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “EVAL”
-
NAME_EVENT_STATS= 'EVENT_STATS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “EVENT_STATS”
-
NAME_EXTRACT= 'EXTRACT'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “EXTRACT”
-
NAME_FIELDS= 'FIELDS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “FIELDS”
-
NAME_FIELD_SUMMARY= 'FIELD_SUMMARY'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “FIELD_SUMMARY”
-
NAME_FREQUENT= 'FREQUENT'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “FREQUENT”
-
NAME_GEO_STATS= 'GEO_STATS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “GEO_STATS”
-
NAME_HEAD= 'HEAD'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “HEAD”
-
NAME_HIGHLIGHT= 'HIGHLIGHT'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “HIGHLIGHT”
-
NAME_HIGHLIGHT_GROUPS= 'HIGHLIGHT_GROUPS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “HIGHLIGHT_GROUPS”
-
NAME_HIGHLIGHT_ROWS= 'HIGHLIGHT_ROWS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “HIGHLIGHT_ROWS”
-
NAME_JSON_EXTRACT= 'JSON_EXTRACT'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “JSON_EXTRACT”
-
NAME_LINK= 'LINK'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “LINK”
-
NAME_LINK_DETAILS= 'LINK_DETAILS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “LINK_DETAILS”
-
NAME_LOOKUP= 'LOOKUP'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “LOOKUP”
-
NAME_MACRO= 'MACRO'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “MACRO”
-
NAME_MAP= 'MAP'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “MAP”
-
NAME_MODULE= 'MODULE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “MODULE”
-
NAME_MULTI_SEARCH= 'MULTI_SEARCH'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “MULTI_SEARCH”
-
NAME_NLP= 'NLP'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “NLP”
-
NAME_OUTLIER= 'OUTLIER'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “OUTLIER”
-
NAME_RARE= 'RARE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “RARE”
-
NAME_REGEX= 'REGEX'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “REGEX”
-
NAME_RENAME= 'RENAME'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “RENAME”
-
NAME_SEARCH= 'SEARCH'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “SEARCH”
-
NAME_SEARCH_LOOKUP= 'SEARCH_LOOKUP'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “SEARCH_LOOKUP”
-
NAME_SEQUENCE= 'SEQUENCE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “SEQUENCE”
-
NAME_SORT= 'SORT'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “SORT”
-
NAME_STATS= 'STATS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “STATS”
-
NAME_TAIL= 'TAIL'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “TAIL”
-
NAME_TIME_CLUSTER= 'TIME_CLUSTER'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “TIME_CLUSTER”
-
NAME_TIME_COMPARE= 'TIME_COMPARE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “TIME_COMPARE”
-
NAME_TIME_STATS= 'TIME_STATS'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “TIME_STATS”
-
NAME_TOP= 'TOP'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “TOP”
-
NAME_UPDATETABLE= 'UPDATETABLE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “UPDATETABLE”
-
NAME_WHERE= 'WHERE'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “WHERE”
-
NAME_XML_EXTRACT= 'XML_EXTRACT'¶ A constant which can be used with the name property of a AbstractCommandDescriptor. This constant has a value of “XML_EXTRACT”
-
__init__(**kwargs)¶ Initializes a new AbstractCommandDescriptor object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
TopCommandDescriptorHighlightCommandDescriptorStatsCommandDescriptorTailCommandDescriptorSequenceCommandDescriptorOutlierCommandDescriptorUpdateTableCommandDescriptorDemoModeCommandDescriptorFieldSummaryCommandDescriptorGeoStatsCommandDescriptorMapCommandDescriptorHighlightGroupsCommandDescriptorDedupCommandDescriptorTimeStatsCommandDescriptorClusterCommandDescriptorDeleteCommandDescriptorSearchCommandDescriptorBucketCommandDescriptorRareCommandDescriptorAddInsightsCommandDescriptorLinkCommandDescriptorSortCommandDescriptorHighlightRowsCommandDescriptorMacroCommandDescriptorEvalCommandDescriptorRenameCommandDescriptorXmlExtractCommandDescriptorMultiSearchCommandDescriptorCreateTableCommandDescriptorCompareCommandDescriptorTimeCompareCommandDescriptorModuleCommandDescriptorRegexCommandDescriptorDeltaCommandDescriptorLookupCommandDescriptorJsonExtractCommandDescriptorEventStatsCommandDescriptorWhereCommandDescriptorClusterSplitCommandDescriptorFrequentCommandDescriptorClusterDetailsCommandDescriptorClusterCompareCommandDescriptorCommandDescriptorDistinctCommandDescriptorExtractCommandDescriptorNlpCommandDescriptorBottomCommandDescriptorFieldsCommandDescriptorAnomalyCommandDescriptorClassifyCommandDescriptorLinkDetailsCommandDescriptorSearchLookupCommandDescriptorHeadCommandDescriptorCreateViewCommandDescriptorTimeClusterCommandDescriptorAddFieldsCommandDescriptor
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this AbstractCommandDescriptor. Allowed values for this property are: “COMMAND”, “SEARCH”, “STATS”, “GEO_STATS”, “TIME_STATS”, “SORT”, “FIELDS”, “ADD_FIELDS”, “LINK”, “LINK_DETAILS”, “CLUSTER”, “CLUSTER_DETAILS”, “CLUSTER_SPLIT”, “EVAL”, “EXTRACT”, “JSON_EXTRACT”, “XML_EXTRACT”, “EVENT_STATS”, “BUCKET”, “CLASSIFY”, “TOP”, “BOTTOM”, “HEAD”, “TAIL”, “FIELD_SUMMARY”, “REGEX”, “RENAME”, “TIME_COMPARE”, “WHERE”, “CLUSTER_COMPARE”, “DELETE”, “CREATETABLE”, “SEQUENCE”, “UPDATETABLE”, “DELTA”, “DISTINCT”, “SEARCH_LOOKUP”, “LOOKUP”, “DEMO_MODE”, “MACRO”, “MODULE”, “MULTI_SEARCH”, “HIGHLIGHT”, “HIGHLIGHT_ROWS”, “HIGHLIGHT_GROUPS”, “CREATE_VIEW”, “MAP”, “NLP”, “COMPARE”, “ADD_INSIGHTS”, “ANOMALY”, “DEDUP”, “TIME_CLUSTER”, “FREQUENT”, “RARE”, “OUTLIER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- display_query_string (str) – The value to assign to the display_query_string property of this AbstractCommandDescriptor.
- internal_query_string (str) – The value to assign to the internal_query_string property of this AbstractCommandDescriptor.
- category (str) – The value to assign to the category property of this AbstractCommandDescriptor.
- referenced_fields (list[oci.log_analytics.models.AbstractField]) – The value to assign to the referenced_fields property of this AbstractCommandDescriptor.
- declared_fields (list[oci.log_analytics.models.AbstractField]) – The value to assign to the declared_fields property of this AbstractCommandDescriptor.
- is_hidden (bool) – The value to assign to the is_hidden property of this AbstractCommandDescriptor.
-
category¶ Gets the category of this AbstractCommandDescriptor. querylanguage command designation for example; reporting vs filtering
Returns: The category of this AbstractCommandDescriptor. Return type: str
-
declared_fields¶ Gets the declared_fields of this AbstractCommandDescriptor. Fields declared in command fragment from user specified query string.
Returns: The declared_fields of this AbstractCommandDescriptor. Return type: list[oci.log_analytics.models.AbstractField]
-
display_query_string¶ [Required] Gets the display_query_string of this AbstractCommandDescriptor. Command fragment display string from user specified query string formatted by query builder.
Returns: The display_query_string of this AbstractCommandDescriptor. Return type: str
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
internal_query_string¶ [Required] Gets the internal_query_string of this AbstractCommandDescriptor. Command fragment internal string from user specified query string formatted by query builder.
Returns: The internal_query_string of this AbstractCommandDescriptor. Return type: str
Gets the is_hidden of this AbstractCommandDescriptor. Field denoting if this is a hidden command that is not shown in the query string.
Returns: The is_hidden of this AbstractCommandDescriptor. Return type: bool
-
name¶ [Required] Gets the name of this AbstractCommandDescriptor. Name of querylanguage command
Allowed values for this property are: “COMMAND”, “SEARCH”, “STATS”, “GEO_STATS”, “TIME_STATS”, “SORT”, “FIELDS”, “ADD_FIELDS”, “LINK”, “LINK_DETAILS”, “CLUSTER”, “CLUSTER_DETAILS”, “CLUSTER_SPLIT”, “EVAL”, “EXTRACT”, “JSON_EXTRACT”, “XML_EXTRACT”, “EVENT_STATS”, “BUCKET”, “CLASSIFY”, “TOP”, “BOTTOM”, “HEAD”, “TAIL”, “FIELD_SUMMARY”, “REGEX”, “RENAME”, “TIME_COMPARE”, “WHERE”, “CLUSTER_COMPARE”, “DELETE”, “CREATETABLE”, “SEQUENCE”, “UPDATETABLE”, “DELTA”, “DISTINCT”, “SEARCH_LOOKUP”, “LOOKUP”, “DEMO_MODE”, “MACRO”, “MODULE”, “MULTI_SEARCH”, “HIGHLIGHT”, “HIGHLIGHT_ROWS”, “HIGHLIGHT_GROUPS”, “CREATE_VIEW”, “MAP”, “NLP”, “COMPARE”, “ADD_INSIGHTS”, “ANOMALY”, “DEDUP”, “TIME_CLUSTER”, “FREQUENT”, “RARE”, “OUTLIER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The name of this AbstractCommandDescriptor. Return type: str
-
referenced_fields¶ Gets the referenced_fields of this AbstractCommandDescriptor. Fields referenced in command fragment from user specified query string.
Returns: The referenced_fields of this AbstractCommandDescriptor. Return type: list[oci.log_analytics.models.AbstractField]
-