Skip to content

Commit

Permalink
sync blog
Browse files Browse the repository at this point in the history
  • Loading branch information
emqx-ci-robot authored and CrazyWisdom committed Jul 27, 2022
1 parent 2747b11 commit 2f2f1ff
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions en/202207/more-parameters-added-to-log-analysis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
Recently, [EMQX Cloud](https://www.emqx.com/en/cloud), a fully managed MQTT messaging cloud service, has released a feature update: the “Log” module has been optimized and several new analysis parameters have been added to help users conduct more effective system monitoring and operation and maintenance.

## Feature overview

As a fully managed MQTT cloud service designed to relieve users of the burden of infrastructure management and maintenance, EMQX Cloud helps users keep abreast of system operation through real-time online viewing of logs, tracing and troubleshooting problems found to ensure stable system operation.

The previous log analysis parameters included only time, log level and instance ID, which are relatively basic. The latest version has optimized the feature and added optional parameters, including client ID, client IP, username, topic, resource ID, and rule ID, for users to filter and search, so as to locate errors and solve problems more accurately and quickly. And the node will be displayed directly in the log details.

## Use guide

Users can query logs by clicking “Logs” after entering the console. The default parameters are display time, log level, error type, client ID and client IP, and click on “more” to expand targeted log search based on username, topic, resource ID and rule ID.


![EMQX Cloud Logs interface](https://assets.emqx.com/images/546fc725b011cc5e9ed9ea694f1df936.png)


<center>Logs interface</center>

The fields contained in the logs are described in the following table:

| **Parameter** | **Meaning** |
| :------------ | :----------------------------------------------------------- |
| Time | Time of log reporting |
| Log Level | There are following 3 main types of alert errors:WarningErrorCriticalUsers can handle them according to their priorities. |
| Error Type | There are 5 main types of errors:Data integration:Data integration related errors caused by the corresponding service not running or other reasons. For example, when storing to MySQL, MySQL is not running, unauthorized, or table error, etc. Clients: client-related errors, including incorrect authentication information, incorrect access control information, and other reasons for not being able to connect. Messages: message-related errors, such as coding problems, message loss, etc. Modules: emqx module related errors, such as custom authentication errors due to inability to connect to the corresponding service. EMQX Internal Error: Erlang and errors that cannot be classified to the above cases. The user can quickly locate the error generating module according to the error type. |
| Client ID | Enter the client ID to search the logs generated by the client ID |
| Client IP | Enter client IP to search the logs generated by the client IP |
| Username | Enter username, search the logs generated by the username |
| Topic | Enter topic name, search the logs generated by this topic |
| Resource ID | Enter resource ID, search the logs related to this resource |
| Rule ID | Enter rule ID, search the logs related to the rule |

> Note: EMQX Cloud supports free log storage and retrieval within 14 days, logs beyond 14 days will not be supported for query, if you have special needs, you can contact us by submitting a work order within the console.


Common log analysis and resolution measures can be found in the document: [https://docs.emqx.com/en/cloud/latest/deployments/logs.html](https://docs.emqx.com/en/cloud/latest/deployments/logs.html)



<section class="promotion">
<div>
Try EMQX Cloud for Free
<div class="is-size-14 is-text-normal has-text-weight-normal">No credit card required</div>
</div>
<a href="https://www.emqx.com/en/signup?continue=https://cloud-intl.emqx.com/console/deployments/0?oper=new" class="button is-gradient px-5">Get Started →</a>
</section>

0 comments on commit 2f2f1ff

Please sign in to comment.