How Can I Configure DIS Agent?
DIS Agent can upload data to DIS by configuring PROXY_HOST, PROXY_PORT, PROXY_USERNAME, and PROXY_PASSWORD. For details about these configuration items, see Configuring DIS Agent.
---
region: REGION
ak: YOUR_AK
sk: YOUR_SK
projectId: YOUR_PROJECTID
endpoint: ENDPOINT
PROXY_HOST: YOUR_PROXY_HOST
PROXY_PORT: YOUR_PROXY_PORT
PROXY_USERNAME: YOUR_PROXY_USERNAME
PROXY_PASSWORD: YOUR_PROXY_PASSWORD
flows:
- DISStream: YOUR_STREAM
filePattern: /home/*.log
initialPosition: START_OF_FILE
maxBufferAgeMillis: 5000
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.