Diese Seite ist in Ihrer lokalen Sprache noch nicht verfügbar. Wir arbeiten daran, weitere Sprachversionen hinzuzufügen. Vielen Dank für Ihre Unterstützung.
- What's New
- Function Overview
- Service Overview
- Getting Started
-
User Guide
- Log Management
-
Log Ingestion
-
Collecting Logs from Cloud Services
- Collecting Logs from AOM
- Collecting Logs from API Gateway
- Collecting Logs from BMS
- Collecting Logs from CBH
- Collecting Logs from CCE
- Collecting Logs from CFW
- Collecting Logs from CTS
- Collecting Logs from DWS
- Collecting Logs from ECS
- Collecting Logs from ELB
- Collecting Logs from ER
- Collecting Logs from FunctionGraph
- Collecting Logs from SMN
- Collecting Logs from SecMaster
- Collecting Logs from VPC
- Collecting Logs from WAF
- Collecting Logs Using APIs
- Other Ingestion Modes
-
Collecting Logs from Cloud Services
- Host Management
- Log Search and Analysis
- Log Alarms
- Log Transfer
- Configuration Center
- Appendixes
- API Reference
- Best Practices
-
FAQs
- Overview
- Log Management
- ICAgent Installation
-
Log Collection
- What Can I Do If the CPU Usage Is High When ICAgent Is Running?
- What Kind of Logs and Files Can LTS Collect?
- Will LTS Stop Collecting Logs If I Disable "Continue to Collect Logs When the Free Quota Is Exceeded" in AOM?
- What Do I Do If No Logs Are Collected After I Configure Host Log Ingestion?
- How Can I Use the New Edition of Log Ingestion?
- How Do I Disable Collecting CCE Standard Output Logs to AOM?
- Log Search and Check
- Log Transfer
- Others
- SDK Reference
- Videos
Show all
Step 3: Ingesting Logs to Log Streams
The following shows how you can ingest host logs to LTS.
When ICAgent is installed, configure the paths of host logs that you want to collect in log streams. ICAgent will pack logs and send them to LTS in the unit of log streams.
Prerequisites
- You have created log groups and log streams.
- You have installed ICAgent.
Procedure
- Log in to the LTS console and choose Log Ingestion in the navigation pane.
- Click Elastic Cloud Server (ECS) to configure log ingestion.
- Select a log stream.
- Select a log group from the drop-down list of Log Group. If there are no desired log groups, click Create Log Group to create one.
- Select a log stream from the drop-down list of Log Stream. If there are no desired log streams, click Create Log Stream to create one.
- Click Next: Select Host Group.
Figure 1 Selecting a log stream
- Select a host group.
- In the host group list, select one or more host groups to collect logs. If there are no desired host groups, click Create in the upper left corner of the list. On the displayed Create Host Group page, create a host group. For details, see Creating a Host Group (IP Address).
NOTE:
You can choose not to select a host group in this step, but associate a host group with the ingestion configuration after you finish the procedure here. There are two options to do this:
- Choose Host Management in the navigation pane, click the Host Groups tab, and complete the association.
- Choose Log Ingestion in the navigation pane, click an ingestion configuration, and make the association on the details page.
- Click Next: Configure Collection.
Figure 2 Selecting a host group
- In the host group list, select one or more host groups to collect logs. If there are no desired host groups, click Create in the upper left corner of the list. On the displayed Create Host Group page, create a host group. For details, see Creating a Host Group (IP Address).
- Configure the collection.
- Configure the collection parameters. For details, see Configuring Collection.
- Click Submit.
- Finished.
Click Back to Ingestion Configurations to check the ingestion details. You can also click View Log Stream to view the log stream to which logs are ingested.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.