section> Computing
  • Auto Scaling
  • Bare Metal Server
  • Dedicated Host
  • Elastic Cloud Server
  • FunctionGraph
  • Image Management Service
Network
  • Direct Connect
  • Domain Name Service
  • Elastic IP
  • Elastic Load Balancing
  • NAT Gateway
  • Private Link Access Service
  • Secure Mail Gateway
  • Virtual Private Cloud
  • VPC Endpoint
  • Virtual Private Network
Storage
  • Cloud Backup and Recovery
  • Cloud Server Backup Service
  • Elastic Volume Service
  • Object Storage Service
  • Storage Disaster Recovery Service
  • Scalable File Service
  • Volume Backup Service
Application Services
  • Application Operations Management
  • API Gateway (APIG)
  • Distributed Message Service
  • Simple Message Notification
Database Services
  • Distributed Cache Service
  • Document Database Service
  • Data Replication Service
  • GaussDB (for MySQL)
  • GeminiDB
  • Relational Database Service
Big Data and Data Analysis
  • Cloud Search Service
  • DataArts Studio
  • Data Ingestion Service
  • Data Lake Insight
  • Data Warehouse Service
  • ModelArts
  • MapReduce Service
  • Optical Character Recognition
Container Services
  • Cloud Container Engine
  • Software Repository for Containers
Applications and Databases
  • Anti DDoS
  • Database Security Service
  • Host Security Service
  • Web Application Firewall
  • Dedicated Web Application Firewall
Identity and Access Management
  • Identity and Access Management Service
Key Management
  • Key Management Service
Compliance
  • Core Services Certifications
Monitoring and Logging
  • Application Performance Management
  • Cloud Eye
  • Cloud Trace Service
  • Log Tank Service
Resource Management
  • Cloud Create
  • Resource Management Service
  • Tag Management Service
Other
  • Enterprise Dashboard
  • Price Calculator
APIs
  • REST API
  • API Usage Guidelines
  • Endpoints
Development and Automation
  • SDKs
  • Drivers and Tools
  • Terraform
  • Ansible
  • Cloud Topology Designer
Architecture Center
  • Blueprints
Other
  • Status Dashboard
  • Portfolio Roadmap
  • Training Certifications
IaaSComputingAuto ScalingBare Metal ServerDedicated HostElastic Cloud ServerFunctionGraphImage Management ServiceNetworkDirect ConnectDomain Name ServiceElastic IPElastic Load BalancingNAT GatewayPrivate Link Access ServiceSecure Mail GatewayVirtual Private CloudVPC EndpointVirtual Private NetworkStorageCloud Backup and RecoveryCloud Server Backup ServiceElastic Volume ServiceObject Storage ServiceStorage Disaster Recovery ServiceScalable File ServiceVolume Backup ServicePaaSApplications ServicesApplication Operation ManagementAPI Gateway (APIG)Distributed Message ServiceSimple Message NotificationDatabase ServicesDistributed Cache ServiceDocument Database ServiceData Replication ServiceGaussDB (for MySQL)GeminiDBRelational Database ServiceBig Data and Data AnalysisCloud Search ServiceDataArts StudioData Ingestion ServiceData Lake InsightData Warehouse ServiceModelArtsMapReduce ServiceOptical Character RecognitionContainer ServicesCloud Container EngineSoftware Repository for ContainersSecurityApplications and DatabasesAnti DDoSDatabase Security ServiceHost Security ServiceWeb Application FirewallDedicated Web Application FirewallIdentity and Access ManagementIdentity and Access Management ServiceKey ManagementKey Management ServiceComplianceCore Services CertificationsManagementMonitoring and LoggingApplication Performance ManagementCloud EyeCloud Tracking ServiceLog Tank ServiceResource ManagementCloud CreateResource Management ServiceTag Management ServiceOtherEnterprise DashboardPrice CalculatorDevelopersAPIsREST APIAPI Usage GuidelinesEndpointsAutomation and DevelopmentSDKsDrivers and ToolsTerraformAnsibleCloud Topology DesignerArchitecture CenterBlueprintsOtherStatus DashboardPortfolio RoadmapTraining Certifications

Log Tank Service

  • Service Overview
  • Getting Started
  • Log Management
  • Log Ingestion
  • Host Management
  • Log Search and View
    • Log Search
    • Viewing Real-Time Logs
    • Quick Search
    • Quick Analysis
  • Log Analysis
  • Log Transfer
  • Configuration Center
  • Permissions Management
  • FAQs
  • Change History
  • User Guide
  • Log Search and View
  • Quick Search

Quick Search¶

To search for logs using a keyword repeatedly, perform the following operations to configure quick search.

Procedure¶

  1. On the LTS console, choose Log Management in the navigation pane on the left.

  2. In the log group list, click image1 on the left of a log group name.

  3. In the log stream list, click the name of the target log stream.

  4. On the log stream details page, click image2 and specify Name and Keyword.

    • A quick search name is used to distinguish multiple quick search statements. The name can be customized and must meet the following requirements:

      • Can contain only letters, digits, hyphens (-), underscores (_), and periods (.).

      • Cannot start with a period (.) or underscore (_) or end with a period (.).

      • Can contain 1 to 64 characters.

    • A quick search statement is used to repeatedly search for logs, for example, error*.

  5. Click OK.

    Click the name of a quick search statement to view log details.

Viewing Context of a Log¶

You can check the logs generated before and after a log for quick fault locating.

  1. On the LTS console, choose Log Management in the navigation pane on the left.

  2. In the log group list, click image3 on the left of a log group name.

  3. In the log stream list, click the name of the target log stream.

  4. On the Raw Logs tab page, click image4 to view the context.

    The context of the log is displayed.

  5. On the displayed View Context page, check the log context.

    Table 1 Introduction to log context viewing¶

    Feature

    Description

    Search Rows

    Number of rows to search. The options are 100, 200, and 500.

    Highlighting

    Enter a string to be highlighted and press Enter.

    Filter

    Enter a string to be filtered and press Enter. When both Highlighting and Filter are configured, the filtered string can also be highlighted.

    Fields

    The default field for viewing log context is content. Click Fields to view the context of other fields.

    Prev

    View half the number of Search Rows leading to the current position. For example, if Search Rows is set to 100 and you click Prev, 50 rows prior to the current position are displayed. In this case, the current line number is -50. If you click Prev again, the line number will become -100, -150, -200, and so on.

    Current

    Current log position. When Prev or Update is set, you can click Current to return to the position where the context starts (when the line number is 0).

    Update

    View half the number of Search Rows following the current position. For example, if Search Rows is set to 100 and you click Update, 50 rows following the current position are displayed. In this case, the current line number is 50. If you click Update again, the line number will become 100, 150, 200, and so on.

  • Prev
  • Next
last updated: 2024-11-04 10:54 UTC - commit: 4e986af6e93146938e22b6a83abef09d6bce5a6d
Edit pageReport Documentation Bug
Page Contents
  • Quick Search
    • Procedure
    • Viewing Context of a Log
© T-Systems International GmbH
  • Contact
  • Data privacy
  • Disclaimer of liabilitys
  • Imprint