Skip to content

[QUESTION]:ilogtail 如何采集k8s容器的tag 上报到sls #1490

Answered by quzard
wenlong139 asked this question in Help
Discussion options

You must be logged in to vote
enable: true
inputs:
  - Type: input_file
    FilePaths:
      - /logs/*
    EnableContainerDiscovery: true
    ContainerFilters:
      IncludeEnv:
        name: echo
flushers:
  - Type: flusher_sls
    Region: cn-hangzhou
    Endpoint: cn-hangzhou.log.aliyuncs.com
    Project: yitao-hangzhou
    Logstore: test

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by messixukejia
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #1487 on May 16, 2024 11:05.