百度智能云

All Product Document

          Log Service

          FAQs About Faults

          Why can't my log service get logs?

          1. Please check if the collector status is "Running".
          2. Check whether the source log directory is configured correctly and whether the file filtering rules are configured correctly.
          3. Please check if the read privilege of source log directory is opened.
          4. Check whether the bucket in the object storage (BOS) service of destination address exists.
          5. The new transmission task deployed validated in about one minute. Please keep patient.

          Why is my collector in status of "unauthenticated"?

          The collector is in an "unauthenticated" state, indicating that the Token used by the collector has been invalidated. To ensure the normal execution of log transmission task, create a Token as soon as possible and redeploy the collector on the corresponding CVM server.

          Why is the "copy" button of the installation command not displayed in the browser?

          1. First check if the Flash plug-in has been installed in your browser. The browser supports Flash and the detailed information is as follows:

            • Chrome supports Flash by default.
            • IE and Firefox have the Flash plug-in installed by default.
            • OSX Firefox and Safari do not support Flash plug-in by default. Please install.
          2. If the installation command still cannot be copied, assemble the installation commands according to the following example: wget -O - http://logbeat-repo-sz.su.bcebos.com/install-logbeat-sz.sh | bash /dev/stdin <token value> <OS version> install /opt. Among them, the OS version supports the following three types: centos, ubuntu, and debian. Please make a choice according to your operating system. The token value can be viewed and copied after clicking "Display". Note the region where the script is located. The script address of each region is as follows:

          Beijing: https://logbeat-repo-bj.bj.bcebos.com/install-logbeat-bj.sh

          Guangzhou: https://logbeat-repo-gz.gz.bcebos.com/install-logbeat-gz.sh

          Suzhou: https://logbeat-repo-sz.su.bcebos.com/install-logbeat-sz.sh

          Baoding: https://logbeat-repo-bd.bd.bcebos.com/install-logbeat-bd.sh

          Hong Kong: https://logbeat-repo-hk.hkg.bcebos.com/install-logbeat-hk.sh

          Why is my transmitted data cleared?

          The reasons are as follows:

          1. The collector installed on this CVM Server is reconfigured with the Token. Due to the replacement of token, the Baidu Log Service re-identifies and authenticates the collector. Therefore, the historical information generated when the old Token is used is cleared.
          2. When a CVM Server is deleted from the CVM Server list in the transmission task details, the historical information of the CVM Server isn’t maintained. Therefore, when the same transmission task is redeployed to the CVM Server, the transmitted data is recounted from zero.
          Previous
          FAQs About Configuration