For more information about collection modes, see Collection modes. If you want to collect JSON logs, you can select JSON Mode. For example, if you want to collect multi-line logs, you can select Simple Mode - Multi-line or Full Regex Mode. Logtail parses logs based on the collection mode that you select. When you collect Docker text logs, you must select a collection mode based on your business requirements, such as Simple Mode, Simple Mode - Multi-line, Full Regex Mode, JSON Mode, Delimiter Mode, and NGINX Mode.For more information, see Use the Log Service console to collect container text logs in DaemonSet mode. Then, configure data collection by following the steps that you perform to collect Kubernetes text logs. On this tab, click Docker File - Container. If you want to collect Docker text logs, perform the following steps: In the Import Data section, click the On-premises Open Source/Commercial Software tab.Then, you must enter a valid UUID in the file, for example, 169E98C9-ABC0-4A92-B1D2-AA6239C0D261, and mount the file on the /sys/class/dmi/id/product_uuid directory of the Logtail container.Ĭreate a Logtail configuration in the Log Service console based on your business requirements. If the The parameter is invalid : uuid=none error is returned in the /usr/local/ilogtail/ilogtail.LOG log file, you must create a file named product_uuid on the host.The root directory of the host is mounted on the /logtail_host directory of the Logtail container.The /var/run directory of the host is mounted on the /var/run directory of the Logtail container.The following environment variables are configured: ALIYUN_LOGTAIL_USER_DEFINED_ID, ALIYUN_LOGTAIL_USER_ID, and ALIYUN_LOGTAIL_CONFIG.You can customize the startup parameters of the Logtail container only if the following conditions are met: The custom identifier of your machine group. For more information, see Obtain the ID of the Alibaba Cloud account for which Log Service is activated. The ID of the Alibaba Cloud account for which Log Service is activated. For example, if your project resides in the China (Hangzhou) region, set the parameter to cn-hangzhou. If your project uses an Alibaba Cloud internal network, specify the value in the region format.For example, if your project resides in the China (Hangzhou) region, set the parameter to cn-hangzhou-internet. If your project uses the Internet, specify the value in the region-internet format.For more information about network types, see Select a network type. For more information about regions, see Region names for Logtail installation. The ID of the region where your project resides and the type of the network that your project uses. Replace the $ /log-service/logtail Parameter For more information, see Docker run reference. Add -privileged to the startup parameters to grant Logtail the privileged permission.For CentOS 7.4 or later except CentOS 8.0, set the fs.may_detach_mounts parameter to 1.Otherwise, the container text file busy error may occur when you delete other containers. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.Important Before you configure the parameters, you must complete one of the following configurations. Logtail is part of Better Stack Installing this Add-On using the Control PanelĬlick the following Deploy to DO button to install this add-on. We use a custom-built data pipeline for storing and processing your logs instead of relying on the Elastic/ELK stack as most logging services do. Team collaborationĪrchive important log fragments, add comments and easily share links. Data is encrypted both in transit and at rest, stored in ISO/IEC 27001 certified data centers. More secure than your self-hosted solution. Logtail has a 1 click integration with Better Uptime for easy on-call alerting and incident management. Configure custom Slack alerts based on the contents of your logs. Anomaly detection alertsĬonfigure presence/absence alerts. Number of user sessions over time? Average response time? You can chart it with a few clicks. No need to learn an obscure log querying language. Query logs with the language your team already knows: SQL. You can do so much more with your logs than full-text search. Logtail lets you store logs in a structured form instead of a blob of text.
0 Comments
Leave a Reply. |