Help Center>
Data Ingestion Service>
FAQs>
FAQs>
DIS Agent Questions>
How Can I Configure Agent to Listen To Multiple Directories or Files?
Updated on 2022-02-24 GMT+08:00
How Can I Configure Agent to Listen To Multiple Directories or Files?
DIS Agent can listen to multiple directories or files. For example, to collect logs of the /home/folder1/file1 and /home/folder2/file2 files, configure multiple DIS streams.
--- region: REGION ak: YOUR_AK sk: YOUR_SK projectId: YOUR_PROJECTID endpoint: ENDPOINT flows: - DISStream: YOUR_STREAM filePattern: /home/folder1/file1 initialPosition: START_OF_FILE maxBufferAgeMillis: 5000 - DISStream: YOUR_STREAM filePattern: /home/folder2/file2 initialPosition: START_OF_FILE maxBufferAgeMillis: 5000
Parent topic: DIS Agent Questions
DIS Agent Questions FAQs
- How Can I Configure Agent to Listen To Multiple Directories or Files?
- How Can I Configure Recursive Listening for Directories on DIS Agent?
- How Can I Configure DIS Agent?
- How Do I Use Agent to Encrypt AK/SK?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore