Skip to content

OWL CLI Tool List


This document describes the business tools currently directly executable by the OWL CLI, including tool scope, permission types, CLI usage conventions, tool overview, and tool descriptions organized by category.

The visibility of tools and their execution results depend on the permissions of the API Key corresponding to the current OWL_TOKEN. If the API Key does not have the appropriate resource or operation permissions, the corresponding tool may fail to execute or return empty results.

Note

This document only describes the business tools that can be directly invoked via owl exec. It does not include the CLI commands themselves, such as owl init, owl login, owl sync, owl list, owl show, owl data list, etc.

Tool Scope

The tools exposed by the OWL CLI will be continuously updated as the platform capabilities evolve. The actual visible tools are based on the tool catalog returned by owl list after running owl sync locally.

The current document covers the following business categories:

Category Description
catalog Unified resource catalog, entity types, entity details, and topology relationships
dashboard Dashboard creation, replacement, and detail retrieval
data DQL namespace exploration, log/metric/RUM/APM/Network/Profile/Billing data discovery, DQL documentation query, DQL validation, full query, data forwarding async query, cross-workspace Trace query within the same organization, and Profiling parsing
errors Error center issue query and comment management
event Event list query and event detail retrieval
incident Incident list, incident comments, operation records, and on-call schedules
infrastructure Unified catalog resource query
llm LLM observability application list query
member Workspace member query
mdsearch Unified document search (search, document reading, directory browsing)
monitor Monitor query, creation, update, and external event reception
nbook_note Query, read, create, modify, and delete normal notes and Runbooks
pipeline Pipeline list query and sample validation

Permission Types

Permission Type Meaning Usage Suggestion
Read-only Operations that do not modify workspace resources, such as querying, listing, retrieving details, and sample validation Suitable for daily troubleshooting and automated read-only execution
Write Operations that modify workspace resources, such as creating, updating, adding comments, and receiving external events It is recommended to confirm parameters and impact scope before using in production environments
Local Helper Auxiliary capabilities that do not modify workspace resources, such as local DQL documentation retrieval and local syntax validation Suitable for use before formal query execution

CLI Usage Conventions

Type Convention
Tool Sync After the first use or when platform tools are updated, run owl sync first
Category and Tool Browsing Use owl category list, owl list, owl list -c <category> to browse the tool catalog
View Tool Definition It is recommended to use owl show <tool name> to view parameter definitions before execution
Tool Execution Use owl exec <tool name> [parameters] uniformly to execute tools
Parameter Passing Supports four methods: --key value, key=value, -p '<json>', and --stdin
Time Range Use 13-digit millisecond timestamps uniformly
Pagination Parameters Typically use page_size and page_index
Detail Query Usually relies on identifiers such as UUID, ID, URN returned by list tools for further queries
Data Query It is recommended to call discovery tools first to obtain source, field, tag, index, then execute the formal query
Data Result File When the tool output type is data, the result is automatically written to the local data directory, and can be viewed with owl data list and owl data show <file-id>

Sample Field in Data Result Files

When the tool output type is data, the CLI may optionally include a sample field in the execution result while writing the data file:

  • sample: Numeric value (floating point), indicating the sampling ratio of this query (e.g., 0.0077 means approximately 0.77% sampling). It only appears when the backend returns sampling information or the sampling ratio can be parsed from the data file content; if no sampling information is available, this field is omitted.
  • When sample is obtained, it means the result is estimated based on sampled data. When interpreting aggregations such as counts or sums, the sampling ratio needs to be restored first to determine the magnitude.

Common CLI command examples:

owl sync
owl list
owl list -c data
owl show owl.data.query
owl exec owl.metric.list --mode source
owl exec owl.event.list --start_time 1712505600000 --end_time 1712592000000 --limit 20

Tool Overview

Tool Set Tool Function Permission
catalog owl.catalog.entity_type_query Query entity types supported by the unified catalog Read-only
catalog owl.catalog.entity_query Query entity list by entity type Read-only
catalog owl.catalog.entity_get Get single entity detail by urn Read-only
catalog owl.catalog.entity_topology_query Query topology relationships associated with a single entity Read-only
catalog owl.catalog.all_topology_query Query global topology grouping results Read-only
dashboard owl.dashboard.create Create a dashboard Write
dashboard owl.dashboard.replace Replace existing dashboard content Write
dashboard owl.dashboard.get Get dashboard details Read-only
data owl.data.show_dql_namespace View DQL namespace list and whether indexing is supported Read-only
data owl.data.query Execute full DQL or PromQL query Read-only
data owl.data.simple_query_file Execute query with simplified parameters like namespace + time range and write result to data file Read-only
data owl.data.same_org.trace.query Query Trace in current or same-organization workspace by trace_id Read-only
data owl.data.search_dql_docs Query locally synced DQL documents and example snippets Local Helper
data owl.data.check_dql Validate syntax of candidate DQL statements Local Helper
data owl.metric.list Discover available source, fields, or tag keys for metric queries Read-only
data owl.rum.list Discover available source or fields for RUM queries Read-only
data owl.apm.list Discover available source or fields for APM queries Read-only
data owl.network.list Discover available source or fields for Network queries Read-only
data owl.profile.list Discover available source or fields for Profile queries Read-only
data owl.logging.list Discover available source or fields for log queries Read-only
data owl.logging.cluster_task.create Create a log clustering async analysis task Read-only
data owl.logging.cluster_task.get Get the result of a log clustering async analysis task Read-only
data owl.data_forwarding.rule.list Discover data forwarding rules queryable by the current account Read-only
data owl.data_forwarding.query.create Create an object storage data forwarding async query task Read-only
data owl.data_forwarding.query.get Query the status of a data forwarding async task, write desensitized results to local data file Read-only
data owl.billing.list Discover available source or fields for Billing queries Read-only
data owl.slo.list Query the SLO list of the current workspace Read-only
data owl.log_index.list List available indexes for log query Read-only
data owl.log_index.get Query details of a single log index Read-only
data owl.field_schema.get Query the current field catalog Read-only
data owl.profiling.get_summary Query summary information of a Profiling record Read-only
data owl.profiling.parse Parse detailed content of a Profiling record Read-only
errors owl.errors.list Query error center issue list Read-only
errors owl.errors.comment.add Add a comment to an error issue Write
errors owl.errors.comment.list Query comment list of an error issue Read-only
errors owl.errors.comment.update Update an existing error comment Write
event owl.event.list Query event list Read-only
event owl.event.get Query single event detail Read-only
incident owl.incident.list Query incident list Read-only
incident owl.incident_comment.list Query incident comment list Read-only
incident owl.incident_comment.add Add a comment to an incident Write
incident owl.incident_operation.list Query incident operation records Read-only
incident owl.incident_schedule.list Query on-call schedule list Read-only
incident owl.incident_schedule.get Query on-call schedule details Read-only
infrastructure owl.infrastructure.list Query infrastructure object list Read-only
infrastructure owl.infrastructure.get Query single infrastructure object detail Read-only
llm owl.llm.list Query LLM application list Read-only
member owl.member.list Query workspace member list Read-only
mdsearch mdsearch_search Search unified document library and return candidate documents Local Helper
mdsearch mdsearch_document Read full content of a single document by id or path Local Helper
mdsearch mdsearch_catalog Browse the directory structure of the unified document library Local Helper
monitor owl.monitor.list Query monitor list Read-only
monitor owl.monitor.get Query monitor details Read-only
monitor owl.monitor.upsert Create or update a monitor Write
monitor owl.monitor.receive Send an external event Write
nbook_note owl.nbook_note.list Query basic information of normal notes and Runbooks visible to the current account Read-only
nbook_note owl.nbook_note.get Get details and Markdown content of a note or Runbook Read-only
nbook_note owl.nbook_note.add Create a normal note or Runbook Write
nbook_note owl.nbook_note.modify Modify a normal note or Runbook Write
nbook_note owl.nbook_note.delete Delete a normal note or Runbook Write
pipeline owl.pipeline.list Query Pipeline list Read-only
pipeline owl.pipeline.validate Validate Pipeline processing result with sample data Read-only

Catalog

Used for entity type discovery, entity query, entity detail retrieval, and topology relationship query in the unified resource catalog.

Tool Name Function Example Usage Key Parameters Permission
owl.catalog.entity_type_query Query entity types supported by the unified catalog List entity types supported by the current Catalog page_size, page_index Read-only
owl.catalog.entity_query Query entity list by entity type Query the Catalog entity list of type host entity_type, page_size, page_index Read-only
owl.catalog.entity_get Get single entity detail by urn Query the entity detail corresponding to this urn urn Read-only
owl.catalog.entity_topology_query Query topology relationships associated with a single entity View the upstream and downstream topology of this host entity urn Read-only
owl.catalog.all_topology_query Query global topology grouping results Query the global topology structure of the current unified catalog None Read-only

Dashboard

Used for dashboard creation, replacement, and detail retrieval.

Tool Name Function Example Usage Key Parameters Permission
owl.dashboard.create Create a dashboard Create a dashboard named "APM Overview" name, dashboard_json Write
owl.dashboard.replace Replace existing dashboard content Replace the content of a specified dashboard with a new dashboard_json dashboard_uuid, dashboard_json Write
owl.dashboard.get Get dashboard details Query the full configuration of this dashboard UUID dashboard_uuid Read-only

Data

Used for full data query and query assistance, covering logs, metrics, RUM, APM, Network, Profile, Billing, and data already forwarded to object storage.

Tool Name Function Example Usage Key Parameters Permission
owl.data.show_dql_namespace List currently supported DQL namespaces and indicate whether index is supported View which DQL namespaces are currently supported None Read-only
owl.data.query Execute full DQL or PromQL query Query 500 errors in nginx logs from the last 1 hour dql_namespace, start_time, end_time, query_mode, query_text, source, select, index Read-only
owl.data.simple_query_file Execute query with simplified parameters like namespace + time range and write result to data file Query logs by namespace and filter conditions without writing full DQL, and write to file namespace, start_time, end_time, index, source, select_clause, where_clause, group_by_clause, limit Read-only
owl.data.same_org.trace.query Query Trace in current or same-organization workspace by trace_id Reconstruct a Trace across multiple same-organization workspaces trace_id, workspace_uuids, start_time, end_time, where_clause, source, limit Read-only
owl.data.search_dql_docs Query locally synced DQL documents and example snippets Search for the syntax of percentile in DQL query, refresh_docs, limit Local Helper
owl.data.check_dql Validate syntax of candidate DQL statements Validate whether a hand-written DQL is correct query_text Local Helper
owl.metric.list Discover available source, fields, or tag keys for metric queries List available measurements or tags in the metric domain mode, source Read-only
owl.rum.list Discover available source or fields for RUM queries List available fields in the RUM domain mode, source Read-only
owl.apm.list Discover available source or fields for APM queries Query available sources in the APM domain mode, source Read-only
owl.network.list Discover available source or fields for Network queries List available fields in the Network domain mode, source Read-only
owl.profile.list Discover available source or fields for Profile queries View available sources in the Profile domain mode, source Read-only
owl.logging.list Discover available source or fields for log queries List available sources in the log domain mode, source Read-only
owl.logging.cluster_task.create Create a log clustering async analysis task, grouping by similar logs or fields Cluster logs from a recent period by specified field, return task_id timeRange, analysisField, namespace, conditions, query, indexes Read-only
owl.logging.cluster_task.get Get the result of a log clustering async analysis task Use the task_id returned by cluster_task.create to retrieve clustering results (task_status=ok indicates completion) task_id Read-only
owl.data_forwarding.rule.list List data forwarding rules readable by the current account, default returns only rules queryable via AIAPI Discover the exact rule_name and confirm the rule is queryable before creating a query search, data_type, store_type, queryable_only, page_index, page_size Read-only
owl.data_forwarding.query.create Create an object storage async query task for a specified data forwarding rule Query error records forwarded by the forward-rule data forwarding rule within a specified time range, return task_id rule_name, start_time, end_time, search, page_size, token Read-only
owl.data_forwarding.query.get Get the status of a data forwarding async task and write the workspace-desensitized response to a local data file Use the task_id returned by create to get the result file, then check task_status, items, and next_token task_id Read-only
owl.billing.list Discover available source or fields for Billing queries List available fields in the Billing domain mode, source Read-only
owl.slo.list Query the SLO list of the current workspace, can be filtered by name or monitor UUID List the SLOs of the current workspace search Read-only
owl.log_index.list List available indexes for log query List current log indexes None Read-only
owl.log_index.get Query details of a single log index Query details of this log index UUID index_uuid Read-only
owl.field_schema.get Query the current field catalog, used for completing query fields List the current available field catalog None Read-only
owl.profiling.get_summary Query summary information of a Profiling record View summary information of this profile_id profile_id, timeRange Read-only
owl.profiling.parse Parse detailed content of a Profiling record Parse detailed stack information of this Profiling record profile_id, language, type, profile_start, profile_end Read-only

Data Forwarding Async Query

owl.data_forwarding.rule.list, owl.data_forwarding.query.create, and owl.data_forwarding.query.get are used to discover queryable rules and query data that has been forwarded to object storage through those rules. These three tools are single atomic calls; the CLI does not automatically select rules, poll tasks, or continue querying the next batch of data. rule.list and query.create return text results directly; query.get has an outputType of data, and each status query writes a new local data file.

Only Supported by OWL CLI

The data forwarding query tools are only available through the OWL CLI and will not appear in the Web Obsy Copilot or MCP tool catalog.

Complete a query in the following order:

  1. If the user does not have an exact rule name or it is not confirmed whether the rule is queryable, first call owl.data_forwarding.rule.list. Keep queryable_only=true for the query scenario, and select rule_name from the results with queryable=true; do not pass rule_uuid to create.
  2. Call owl.data_forwarding.query.create, passing the selected rule_name, query time range, and filter conditions exactly as obtained, and get the task_id.
  3. Use that task_id to call owl.data_forwarding.query.get. Its execution file object has no data-file ID: run owl data list -f json, identify the matching record, capture files[].id verbatim, then execute owl data show <file-id>. Do not derive or guess the ID from a path.
  4. Check the task_status in the file. When the value is created or running, the task is not yet complete; even if items is empty, it should not be considered the final result. Continue calling get with the same task_id later, then repeat the data-list step to view the latest status.
  5. Stop polling when task_status is completed or failed. When completed, read the desensitized items; when failed, investigate based on the returned failure information.
  6. When completed and next_token is not empty, call create again to query the next batch. You must keep the original rule_name, start_time, end_time, search, and page_size, and pass next_token as the token. The new create will return a new task_id.

Discover queryable rules:

owl exec owl.data_forwarding.rule.list -p '{
  "queryable_only": true,
  "page_index": 1,
  "page_size": 20
}'

Create the first batch query task:

owl exec owl.data_forwarding.query.create -p '{
  "rule_name": "forward-rule",
  "start_time": 1784800000000,
  "end_time": 1784886400000,
  "search": {
    "conditions": [
      {
        "key": "status",
        "value": "error",
        "logic": "match"
      }
    ],
    "operator": "and"
  },
  "page_size": 20
}'

Query task status and result:

owl exec owl.data_forwarding.query.get -p '{"task_id":"task_xxx"}'
owl data list -f json
owl data show <captured-file-id>

To query the next batch, reuse the original query parameters and pass next_token:

owl exec owl.data_forwarding.query.create -p '{
  "rule_name": "forward-rule",
  "start_time": 1784800000000,
  "end_time": 1784886400000,
  "search": {
    "conditions": [
      {
        "key": "status",
        "value": "error",
        "logic": "match"
      }
    ],
    "operator": "and"
  },
  "page_size": 20,
  "token": "next_xxx"
}'

Parameters and Limitations:

  • rule.list defaults to queryable_only=true, returning only queryable rules. When set to false, it will also return rules that do not support querying; you should determine the reason via queryable and unsupported_reason, and cannot continue calling create to query these rules.
  • rule.list supports fuzzy search of rule names via search, and can also be filtered by data_type or store_type; pagination range is page_index >= 1, page_size 1 to 100.
  • rule_name must use the exact value returned by rule.list and cannot be replaced with rule_uuid. The data type and object storage configuration are determined by the backend based on the rule.
  • start_time and end_time are 13-digit millisecond timestamps, and end_time must be greater than start_time.
  • The maximum query duration is determined by the workspace configuration, defaulting to 24 hours; query_time_limit_hours in the create response is the current effective limit.
  • search.conditions[].logic only supports match and notMatch; multiple conditions are combined via search.operator with and or or.
  • page_size ranges from 1 to 1000, default 20.
  • query.get does not print the full result directly to the CLI. Its returned file information has no ID; run owl data list -f json, capture the matching files[].id verbatim, and use it with owl data show <file-id>.
  • DF-API-KEY is automatically injected by the CLI and should not be passed as a tool parameter. Free Plan workspaces do not support this query.
  • Supports S3, OSS, OBS, GCS, and TOS standard storage; does not support Kafka, platform built-in storage, cold storage, and archive data.

Cross-Workspace Trace Query within the Same Organization

owl.data.same_org.trace.query is a dedicated tool for querying Traces in the current or same-organization workspace by trace_id. When performing a cross-workspace query, first run owl workspace same-org list to get candidate workspaces, then call this tool:

  • trace_id is a required parameter; the server will forcibly add this condition, so do not repeat it in where_clause.
  • workspace_uuids is an optional string array. Use the workspace_uuid from the list results for values; workspace_id is only used for list pagination and cannot be used for queries.
  • When workspace_uuids is omitted or passed as an empty array, only the workspace of the current API Key is queried.
  • When the cross-workspace query feature within the same organization is disabled, only the current workspace can be queried; passing other workspace UUIDs will return a parameter error.
  • where_clause only passes additional DQL condition fragments, without the outer curly braces.
  • start_time, end_time use 13-digit millisecond timestamps; you can also narrow the query scope via source and limit.
  • The returned content retains the original DQL query result structure. Do not fall back to owl.data.query or owl.data.simple_query_file for cross-workspace Trace queries.
owl workspace same-org list
owl exec owl.data.same_org.trace.query -p '{"trace_id":"TRACE-XXXX","workspace_uuids":["wksp_xxx"]}'

Errors

Used for querying the error center issue list, as well as adding, querying, and updating comments.

Tool Name Function Example Usage Key Parameters Permission
owl.errors.list Query error center issue list Query the list of error issues from the last 24 hours start_time, end_time, page_size, page_index, conditions, assigner, issue_status Read-only
owl.errors.comment.add Add a comment to an error issue Add a troubleshooting comment to this error issue issue_id, comment, attachment_uuids, extend Write
owl.errors.comment.list Query comment list of an error issue View the comment records of this error issue issue_id, page_size, page_index Read-only
owl.errors.comment.update Update an existing error comment Update the content of this error comment comment_uuid, comment, attachment_uuids, extend Write

Event

Used for event center list query and event detail retrieval.

Tool Name Function Example Usage Key Parameters Permission
owl.event.list Query event list Query critical events from the last 1 hour start_time, end_time, status, limit Read-only
owl.event.get Query single event detail, can limit event time range Query details of this event doc_id within the specified time range doc_id, timeRange Read-only
  • owl.event.list must provide start_time and end_time; optional status values are fatal, critical, error, warning, and nodata; limit defaults to 20, maximum 100; returned items may include the event dimension tag field df_dimension_tags.
  • timeRange of owl.event.get is an optional two-element array [start, end], both elements are 13-digit millisecond timestamps, and end must be greater than start. The parameter name is timeRange, do not change it to time_range.

Incident

Used for querying incident lists, incident comments, operation records, and on-call schedules.

Tool Name Function Example Usage Key Parameters Permission
owl.incident.list Query incident list Query all current incident tickets search, page_size, page_index Read-only
owl.incident_comment.list Query incident comment list View the comment records of this incident ticket incident_uuid Read-only
owl.incident_comment.add Add a comment to an incident ticket Add a processing progress note to this incident ticket incident_uuid, comment Write
owl.incident_operation.list Query incident operation records View the operation history of this incident ticket incident_uuid, page_size, page_index Read-only
owl.incident_schedule.list Query on-call schedule list Query the current on-call schedule list search, page_size, page_index Read-only
owl.incident_schedule.get Query on-call schedule details Query the detailed configuration of this on-call schedule schedule_uuid Read-only

Infrastructure

Used for querying the list and details of infrastructure objects, covering resource objects such as hosts, containers, and processes.

Tool Name Function Example Usage Key Parameters Permission
owl.infrastructure.list Query infrastructure object list Query all current host objects resource_type, limit, filters Read-only
owl.infrastructure.get Query single infrastructure object detail Query the detailed information of this container object resource_type, identity_value Read-only

LLM

Used for querying the LLM observability application list.

Tool Name Function Example Usage Key Parameters Permission
owl.llm.list Query LLM application list List all current LLM applications search, type, page_size, page_index Read-only

Member

Used for querying the workspace member list and searching by name or email keyword.

Tool Name Function Example Usage Key Parameters Permission
owl.member.list Query workspace member list Search for members whose email contains alice search Read-only

Monitor

Used for querying the monitor list, retrieving details, creating or updating, and receiving external events.

Tool Name Function Example Usage Key Parameters Permission
owl.monitor.list Query monitor list Query currently enabled monitors search, status_list Read-only
owl.monitor.get Query monitor details Query the full configuration of this monitor rule rule_uuid Read-only
owl.monitor.upsert Create a monitor or update an existing one Create a new external event monitor json_script, rule_uuid, status, secret, alert_policy_uuids, tags Write
owl.monitor.receive Send an external event to the receiver Send a test event to this monitor event, target, monitor, extra_data Write

Notes and Runbooks

Used for managing normal notes and Runbooks visible to the current API Key account. Normal notes are suitable for recording conclusions and reference information, while Runbooks are suitable for saving reusable operation procedures.

Tool Name Function Example Usage Key Parameters Permission
owl.nbook_note.list Query basic information of visible notes and Runbooks, without returning Markdown content Filter content by type, title, content, or tags page_index, page_size, search, tags, tagkv_query, type Read-only
owl.nbook_note.get Get details and Markdown content of a note or Runbook by note_uuid Read the full content of the specified item note_uuid Read-only
owl.nbook_note.add Create a normal note or Runbook and return basic information Create a Markdown Runbook with tags title, content, tags, tag_kv, type Write
owl.nbook_note.modify Modify a note by note_uuid and return updated basic information Update the title, content, or tags of a note note_uuid, title, content, tags, tag_kv Write
owl.nbook_note.delete Delete a note by note_uuid Delete the specified note note_uuid Write
  • page_index of owl.nbook_note.list defaults to 1, page_size defaults to 20, maximum 100.
  • type of owl.nbook_note.list has optional values normal and runbook; when omitted, both types are returned.
  • owl.nbook_note.get is the only tool that returns Markdown content content, but does not return path, etag, or version; list, add, and modify only return basic information such as title, type, and tags, and do not return content, path, ETag, or version information; delete returns a simplified result of the delete operation.
  • owl.nbook_note.add must provide title and content; type has optional values normal and runbook, and when omitted, a normal note is created. This tool does not accept path; created_source is fixed by the server to ai, and the creator account is taken from the current API Key.
  • owl.nbook_note.modify must provide at least one of title, content, tags, or tag_kv in addition to note_uuid; when content is omitted, the original content is retained.
  • The content type cannot be modified after creation; get, modify, and delete do not accept type. If you need to change the type, recreate it with the target type.
  • Get, modify, and delete all use the note_uuid returned by the list. Do not pass fields managed by the backend such as path, etag, if_match, version, creator, or created_source.
  • tagkv_query is a TagKV expression string used by the list tool; tag_kv is a key-value object used by the create and modify tools. Do not mix them.

Pipeline

Used for Pipeline list query and sample validation.

Tool Name Function Example Usage Key Parameters Permission
owl.pipeline.list Query Pipeline list and return decoded content List Pipelines whose name contains nginx search, scope, categories Read-only
owl.pipeline.validate Validate Pipeline processing result with sample data Use this log sample to verify whether this Pipeline can parse correctly content, testData, dataType Read-only

mdsearch

Used for searching the unified document library, reading a single document, and browsing the directory, supporting queries in Chinese, English, and mixed languages.

Tool Name Function Example Usage Key Parameters Permission
mdsearch_search Search the unified document library and return sorted candidate documents Search for integration documentation of a certain integration q, top, path_prefix, tags, mode, sort Local Helper
mdsearch_document Read full content of a single document by id or path Read the full content of a document from the candidate results id, meta Local Helper
mdsearch_catalog Browse the top-level directory and representative documents of the unified document library Understand the overall structure of the document library None Local Helper

CLI Usage Paths

Data Query Problems

Applicable to problems like "querying metrics, logs, RUM, APM, Network, Profile, Billing data".

  1. First execute owl.data.show_dql_namespace to confirm the target namespace;
  2. Call discovery tools based on the data domain:

    • Metrics: owl.metric.list
    • RUM: owl.rum.list
    • APM: owl.apm.list
    • Network: owl.network.list
    • Profile: owl.profile.list
    • Logging: owl.logging.list
    • Billing: owl.billing.list
    • Log indexes: owl.log_index.list
    • Field catalog: owl.field_schema.get
  3. When DQL syntax needs to be confirmed, first call owl.data.search_dql_docs to look up documentation;

  4. After writing a full DQL, first call owl.data.check_dql for local validation;
  5. Finally call owl.data.query to execute the formal query.

Profiling Analysis Problems

Applicable to problems like "already have the profile_id, want to view the summary or parse detailed stack information".

  1. First locate the target profile_id in the Profiling data domain via owl.data.query;
  2. Call owl.profiling.get_summary to get summary information;
  3. Reuse the language, type, profile_start, profile_end from the summary results, then call owl.profiling.parse to parse the detailed content.

Incident Troubleshooting Problems

Applicable to problems like "querying incident tickets, tracking processing progress, adding comments".

  1. First call owl.incident.list to query incident tickets;
  2. Based on the incident_uuid, continue calling:

    • owl.incident_comment.list to view comments
    • owl.incident_operation.list to view operation records
    • When processing progress needs to be added, call owl.incident_comment.add.

Dashboard Management Problems

Applicable to problems like "creating dashboards, replacing dashboard content, viewing existing dashboard configurations".

  1. Call owl.dashboard.create to create a new dashboard;
  2. Call owl.dashboard.replace to replace an existing dashboard;
  3. Call owl.dashboard.get to view the current configuration.

Notes and Runbook Management Problems

Applicable to problems like "searching, reading, creating, modifying, or deleting normal notes and Runbooks".

  1. First call owl.nbook_note.list to search for content and get the note_uuid; when you need to narrow the scope, filter by type=normal or type=runbook;
  2. When you need to read the Markdown content, call owl.nbook_note.get;
  3. Call owl.nbook_note.add to create a note, using type to create normal or runbook; call owl.nbook_note.modify to update, the existing note type cannot be modified;
  4. Call owl.nbook_note.delete to delete; before executing a write operation, you should confirm the target note or Runbook and its impact scope.

Monitor Management Problems

Applicable to problems like "viewing monitors, creating monitors, updating monitors, sending test events".

  1. First call owl.monitor.list to browse the target monitors;
  2. Call owl.monitor.get for details;
  3. Call owl.monitor.upsert to create or update;
  4. Call owl.monitor.receive to send an external event to verify the reception chain.

Feedback

Is this page helpful? ×