Help Center/
Data Ingestion Service/
FAQs/
DIS Agent Questions/
How Can I Configure Recursive Listening for Directories on DIS Agent?
Updated on 2024-10-25 GMT+08:00
How Can I Configure Recursive Listening for Directories on DIS Agent?
On DIS Agent, set directoryRecursionEnabled to true. For example, the following configuration can match /home/one.log, /home/child/two.log, and /home/child/child/three.log:
---
region: REGION
ak: YOUR_AK
sk: YOUR_SK
projectId: YOUR_PROJECTID
endpoint: ENDPOINT
flows:
- DISStream: YOUR_STREAM
filePattern: /home/*.log
directoryRecursionEnabled: true
initialPosition: START_OF_FILE
maxBufferAgeMillis: 5000
Parent topic: DIS Agent Questions
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.
Chatbot