The operational logs of Logtail are stored in the ilogtail.LOG file in the /usr/local/ilogtail/ directory. On this tab, select a data source that is related to text logs. If you want to collect text logs from a host, perform the following steps: In the Import Data section, click the On-premises Open Source/Commercial Software tab. For more information, see Use the Log Service console to collect container stdout and stderr in DaemonSet mode. Then, configure data collection by following the steps that you perform to collect Kubernetes stdout and stderr. On this tab, click Docker Standard Output - Container. If you want to collect Docker stdout and stderr, perform the following steps: In the Import Data section, click the On-premises Open Source/Commercial Software tab.For more information, see Logtail plug-ins. For example, you can add data processing plug-ins to extract fields, extract log time, desensitize data, and filter logs. If the fixed collection modes cannot meet your requirements to parse logs, you can turn on Enable Plug-in Processing in the Logtail configuration and add Logtail plug-ins. 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.
0 Comments
Leave a Reply. |