The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.
This document introduces data query operations through Kibana and Curl Command Line, among other methods.
Access Control
1. In the space list, click the corresponding Space Name to enter the basic information page.
Search for the required CAM policy as needed, and click to complete policy association.
2. In the Access Control module, we can obtain the space's Sub-user Information (username, password, Permissions), Intranet Access Address, Kibana Intranet Access Address, and Kibana Public Network Access Address, and set the Kibana Public Network Access Policy.
Search for the required CAM policy as needed, and click to complete policy association.
3. Access Kibana: Kibana's Discover and Dev tools features are embedded in the Tencent Cloud console, allowing us to use search and analysis capabilities directly in the console or access Kibana via external links.
Through the console: Click the Search and Analysis on the sidebar to enter the related page directly. Click the index pattern dropdown on the left to switch between different index views. Log search corresponds to Discover, and Development tools corresponds to Dev tools.
Note:
Embedded capability requires browser support for third-party cookies. If you encounter issues, please try enabling third-party cookies in your browser settings.
Through Kibana public network access address: click Kibana public network access address to enter the Kibana page.
On the Kibana log in page, enter username and password. The username and password can be copied directly from the user management page.
After entering the Kibana page, click the three bars at the top right, then click Discover to go to the search and analysis page.
Note:
Kibana public network access has an allowlist access mechanism, meaning IPs not in the access policy cannot access Kibana to enhance access security. If the page prompts "Sorry, you do not have permission to access", click "Kibana Public Network Access Policy" in the picture above, and in the pop-up window click "Click to automatically obtain the current IP address" to fill in the current IP address.
On the Discover page, you can perform time filtering, keyword searches, etc.:
Via Dev Tools
Data queries can be done using DSL. Examples are as follows:
GET /Index Name/_search
{
"query":{
"term":{
"user.id":"kimchy"
}
}
}
Through Kibana Dashboard
After entering Kibana, select Dashboard in the left navigation bar to perform data visualization. You can quickly create charts by dragging and dropping.