Skip to content

OWL CLI Tool Catalog


This document describes the business tool capabilities currently available for direct execution via OWL CLI, including the tool scope, permission types, CLI usage conventions, a tool overview, and tool descriptions organized by category.

The visibility and execution results of tools depend on the permissions of the API Key corresponding to the current OWL_TOKEN. If the API Key lacks the required 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 invoked directly via owl exec. It does not cover 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 OWL CLI are continuously updated as the platform capabilities evolve. The actual visible tools are determined by the tool catalog returned by owl list after running owl sync locally.

This 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, data discovery for Logs, Metrics, RUM, APM, Network, Profile, Billing, DQL document query, DQL validation, full query, data forwarding async query, cross-workspace trace query within the same organization, and Profiling parsing
errors Error tracking 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, catalog browsing)
monitor Monitor query, creation, update, and external event reception
nbook_note Note and Runbook query, reading, creation, modification, and deletion
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 queries, list retrieval, detail retrieval, and sample validation Suitable for daily troubleshooting and automated read-only execution
Write Operations that modify workspace resources, such as creation, update, adding comments, and receiving external events Recommended to confirm parameters and impact scope before use in production
Local Helper Local capabilities that do not modify workspace resources, such as local DQL document retrieval and local syntax validation Suitable for use before executing formal queries

CLI Usage Conventions

Type Convention
Tool Sync Run owl sync first, or after platform tools are updated
Category & 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 a tool
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 Queries Typically rely on identifiers (e.g., UUID, ID, URN) returned by list tools for further queries
Data Queries It is recommended to call discovery tools to obtain source, field, tag, index first, then execute the formal query
Data Result Files When the tool output type is data, the result is automatically written to the local data directory. It can be viewed using owl data list and owl data show <file-id>

Sampling Field in Data Result Files

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

  • sample: A numeric (float) value indicating the sampling ratio for this query (e.g., 0.0077 means approximately 0.77% sampling). This field appears only 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 present, it means the result is estimated based on sampled data. When interpreting aggregated results such as counts or sums, you need to scale back by the sampling ratio before assessing 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 details 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 index is supported Read-only
data owl.data.query Execute a complete DQL or PromQL query Read-only
data owl.data.simple_query_file Execute a query with simplified parameters and write results to a data file; limit accepts 1-10000 Read-only
data owl.data.same_org.trace.query Query a trace by trace_id in the current or same-organization workspace Read-only
data owl.data.search_dql_docs Search locally synced DQL documentation and example snippets Local Helper
data owl.data.check_dql Validate the syntax of a candidate DQL statement 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 masked results to a 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 queries 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 the error tracking issue list Read-only
errors owl.errors.comment.add Add a comment to an error issue Write
errors owl.errors.comment.list Query the comment list of an error issue Read-only
errors owl.errors.comment.update Update an existing error comment Write
event owl.event.list Query the event list Read-only
event owl.event.get Query details of a single event Read-only
incident owl.incident.list Query the incident list Read-only
incident owl.incident_comment.list Query the comment list of an incident Read-only
incident owl.incident_comment.add Add a comment to an incident Write
incident owl.incident_operation.list Query operation records of an incident Read-only
incident owl.incident_schedule.list Query the on-call schedule list Read-only
incident owl.incident_schedule.get Query details of an on-call schedule Read-only
infrastructure owl.infrastructure.list Query the infrastructure object list Read-only
infrastructure owl.infrastructure.get Query details of a single infrastructure object Read-only
llm owl.llm.list Query the LLM application list Read-only
member owl.member.list Query the workspace member list Read-only
mdsearch mdsearch_search Search the unified document library and return candidate documents Local Helper
mdsearch mdsearch_document Read the full text 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 the 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 notes and Runbooks visible to the current account Read-only
nbook_note owl.nbook_note.get Get note or Runbook details and Markdown body Read-only
nbook_note owl.nbook_note.add Create a note or Runbook Write
nbook_note owl.nbook_note.modify Modify a note or Runbook Write
nbook_note owl.nbook_note.delete Delete a note or Runbook Write
pipeline owl.pipeline.list Query the Pipeline list Read-only
pipeline owl.pipeline.validate Validate Pipeline processing results 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 Use Case 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 details by urn Query entity details for this urn urn Read-only
owl.catalog.entity_topology_query Query topology relationships associated with a single entity View the upstream/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 Use Case 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 specified dashboard with 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 complete data queries and query assistance, covering logs, metrics, RUM, APM, Network, Profile, Billing, and data forwarded to object storage.

Tool Name Function Example Use Case 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 a complete DQL or PromQL query Query nginx log 500 errors in 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 a query with simplified parameters (namespace + time range, etc.) and write results to a data file Query logs by namespace and filter conditions without writing a complete DQL, then 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 a trace by trace_id in the current or same-organization workspace Reconstruct a trace spanning multiple workspaces within the same organization trace_id, workspace_uuids, start_time, end_time, where_clause, source, limit Read-only
owl.data.search_dql_docs Search locally synced DQL documentation and example snippets Search for the usage of percentile in DQL query, refresh_docs, limit Local Helper
owl.data.check_dql Validate the syntax of a candidate DQL statement Validate a hand-written DQL statement for correctness 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 time range by specified field, returns 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 means completed) 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 rule forward-rule within a specified time range, returns 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 masked 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 SLOs of the current workspace search Read-only
owl.log_index.list List available indexes for log queries 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 to complete 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

The limit parameter of owl.data.simple_query_file is an optional integer from 1 to 10000. When omitted, the backend applies its default. Values outside this range are rejected before execution.

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 via 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 outputType of data, and each status query writes a new local data file.

OWL CLI Only

Data forwarding query tools are only available via OWL CLI and will not appear in the Web UI's Obsy Copilot or MCP tool catalog.

Complete a single query using the following steps:

  1. If the user does not have an exact rule name, or the rule's queryability is not yet confirmed, first call owl.data_forwarding.rule.list. Keep queryable_only=true for the query scenario, and select a rule_name from the results where 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 as-is, and obtain the task_id.
  3. Use that task_id to call owl.data_forwarding.query.get. The file object in its execution result does not contain the data file ID. Run owl data list -f json, find the corresponding entry, save the files[].id as-is, then run owl data show <file-id>. Do not derive or guess the ID from the path.
  4. Check the task_status in the file. If the value is created or running, the task is not yet complete. Even if items is empty, it should not be treated as a final result. Retry using the same task_id with get later, then repeat the data file list step to view the latest status.
  5. Stop polling when task_status is completed or failed. When completed, read the masked items; when failed, troubleshoot based on the returned failure information.
  6. When completed and next_token is not empty, call create again to query the next batch. Keep the original rule_name, start_time, end_time, search, and page_size, and pass next_token as the token parameter. The new create call 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 results:

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

When querying the next batch, reuse the original query parameters and pass the 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. If set to false, it will also return rules that do not support queries. You should check queryable and unsupported_reason to determine the reason; you cannot proceed to call create to query these rules.
  • rule.list supports fuzzy search on rule names via search, and can also be filtered by data_type or store_type. Pagination range: page_index >= 1, page_size 1 to 100.
  • rule_name must be the exact value returned by rule.list; it 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. The query_time_limit_hours in the create response is the currently effective limit.
  • search.conditions[].logic only supports match and notMatch. Multiple conditions are combined using search.operator with and or or.
  • page_size range is 1 to 1000, default is 20.
  • query.get does not print the full result directly to the CLI. The returned file information does not contain the ID. Run owl data list -f json, save the files[].id of the corresponding entry as-is, then use owl data show <file-id> to view the task status and masked results.
  • The DF-API-KEY is automatically injected by the CLI and should not be passed as a tool parameter. This query is not supported for Free Plan workspaces.
  • Supported storage types: S3, OSS, OBS, GCS, and TOS standard storage. Kafka, platform built-in storage, cold storage, and archive data are not supported.

Cross-Workspace Trace Query within the Same Organization

owl.data.same_org.trace.query is a dedicated tool for querying a trace by trace_id in the current or same-organization workspace. When querying across workspaces, 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 include this condition; do not add it again in where_clause.
  • workspace_uuids is an optional string array. Use the workspace_uuid from the list results as values. workspace_id is only used for list pagination and cannot be used for queries.
  • If workspace_uuids is omitted or 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 UUIDs of other workspaces will return a parameter error.
  • where_clause should only contain additional DQL condition fragments, without outer curly braces.
  • start_time and end_time use 13-digit millisecond timestamps. You can also narrow the query scope using 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 tracking issue list, as well as adding, querying, and updating comments.

Tool Name Function Example Use Case Key Parameters Permission
owl.errors.list Query the error tracking issue list Query the list of error issues in 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 the comment list of an error issue View the comment history 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 Use Case Key Parameters Permission
owl.event.list Query the event list Query critical events in the last 1 hour start_time, end_time, status, limit Read-only
owl.event.get Query details of a single event, can limit the event time range Query the details of this event doc_id within a specified time range doc_id, timeRange Read-only
  • owl.event.list requires start_time and end_time. The status optional values are fatal, critical, error, warning, and nodata. The default value of limit is 20, maximum is 100. The returned items may include the event dimension tag field df_dimension_tags.
  • timeRange in 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 the incident list, incident comments, operation records, and on-call schedules.

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

Infrastructure

Used for querying the infrastructure object list and details, covering resources such as hosts, containers, and processes.

Tool Name Function Example Use Case Key Parameters Permission
owl.infrastructure.list Query the infrastructure object list Query all current host objects resource_type, limit, filters Read-only
owl.infrastructure.get Query details of a single infrastructure object Query 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 Use Case Key Parameters Permission
owl.llm.list Query the 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 Use Case Key Parameters Permission
owl.member.list Query the workspace member list Search for members whose email contains alice search Read-only

Monitor

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

Tool Name Function Example Use Case Key Parameters Permission
owl.monitor.list Query the 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 monitor 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 endpoint Send a test event to this monitor event, target, monitor, extra_data Write

Notes and Runbooks

Used for managing notes and Runbooks visible to the current API Key account. Notes are suitable for recording conclusions and reference information, while Runbooks are suitable for storing reusable operational procedures.

Tool Name Function Example Use Case Key Parameters Permission
owl.nbook_note.list Query basic information of visible notes and Runbooks, does not return Markdown body Filter content by type, title, body, or tags page_index, page_size, search, tags, tagkv_query, type Read-only
owl.nbook_note.get Get note or Runbook details and Markdown body by note_uuid Read the full body of the specified content note_uuid Read-only
owl.nbook_note.add Create a 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, body, 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
  • The default value of page_index in owl.nbook_note.list is 1, the default value of page_size is 20, maximum is 100.
  • The type optional values in owl.nbook_note.list are normal and runbook. If omitted, both types are returned.
  • owl.nbook_note.get is the only tool that returns the Markdown body 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 concise result of the deletion operation.
  • owl.nbook_note.add requires title and content. The type optional values are normal and runbook. If omitted, a note is created. This tool does not accept path. The created_source is fixed to ai by the server, and the creator account is taken from the current API Key.
  • owl.nbook_note.modify requires at least note_uuid and one of title, content, tags, or tag_kv. If content is omitted, the original body is preserved.
  • 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.
  • All retrieval, modification, and deletion 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 Use Case Key Parameters Permission
owl.pipeline.list Query the Pipeline list and return decoded content List Pipelines with names containing nginx search, scope, categories Read-only
owl.pipeline.validate Validate Pipeline processing results with sample data Validate whether this Pipeline can correctly parse this log sample content, testData, dataType Read-only

mdsearch

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

Tool Name Function Example Use Case Key Parameters Permission
mdsearch_search Search the unified document library and return sorted candidate documents Search for integration setup documentation q, top, path_prefix, tags, mode, sort Local Helper
mdsearch_document Read the full text 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 directories and representative documents of the unified document library Understand the overall structure of the document library None Local Helper

CLI Usage Paths

Data Query Issues

Suitable for problems like "Query metrics, logs, RUM, APM, Network, Profile, Billing data".

  1. First, run 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 Index: owl.log_index.list
    • Field Catalog: owl.field_schema.get
  3. If DQL syntax needs to be confirmed, first call owl.data.search_dql_docs to look up documentation.

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

Profiling Analysis Issues

Suitable for problems like "Already have a profile_id, want to view the summary or parse detailed stack information".

  1. First, locate the target profile_id in the Profiling data domain using 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 result, then call owl.profiling.parse to parse the detailed content.

Incident Troubleshooting Issues

Suitable for problems like "Query incidents, track processing progress, add comments".

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

    • owl.incident_comment.list to view comments
    • owl.incident_operation.list to view operation records
    • If you need to add processing progress updates, call owl.incident_comment.add.

Dashboard Management Issues

Suitable for problems like "Create a dashboard, replace dashboard content, view existing dashboard configuration".

  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.

Note and Runbook Management Issues

Suitable for problems like "Search, read, create, modify, or delete notes and Runbooks".

  1. First, call owl.nbook_note.list to search for content and obtain the note_uuid. To narrow the scope, filter by type=normal or type=runbook.
  2. If you need to read the Markdown body, call owl.nbook_note.get.
  3. Call owl.nbook_note.add to create a note, using the type parameter to create a normal or runbook type. Call owl.nbook_note.modify for updates. Note that the type of an existing note cannot be modified.
  4. Call owl.nbook_note.delete to delete. Before performing write operations, confirm the target note or Runbook and its impact scope.

Monitor Management Issues

Suitable for problems like "View monitors, create monitors, update monitors, send test events".

  1. First, call owl.monitor.list to browse the target monitors.
  2. If details are needed, call owl.monitor.get.
  3. Call owl.monitor.upsert to create or update.
  4. If you need to send an external event to verify the reception pipeline, call owl.monitor.receive.

Feedback

Is this page helpful?