Help Center/ Data Ingestion Service/ FAQs/ DIS Agent Questions/ How Can I Configure DIS Agent?
Updated on 2024-10-25 GMT+08:00

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