Skip to content

开启eBPF采集,启动时panic #513

Answered by EvanLjp
guolifu asked this question in Help
Discussion options

You must be logged in to vote
  1. 基于 polish-ebpf-l7-data-structures make dist 构建
  2. cd output
  3. wget https://logtail-release-us-west-1.oss-us-west-1.aliyuncs.com/kubernetes/libebpf.so
  4. touch user_yaml_config.d/ebpf.yaml 填入以下内容
enable: true
inputs:
  - Type: observer_ilogtail_network_v1
    Common:
      FlushOutL4Interval: 5
      FlushOutL7Interval: 5
    EBPF:
      Enabled: true
      Pid: 1433915
processors:
  - Type: processor_default
flushers:
  - Type: flusher_stdout
  1. sudo ./ilogtail
  2. cat ilogtail.LOG |grep "start ebpf source:success"
  3. cat logtail_plugin.LOG 查看输出

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@guolifu
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@guolifu
Comment options

@EvanLjp
Comment options

Comment options

You must be logged in to vote
3 replies
@messixukejia
Comment options

@guolifu
Comment options

@zhuanshenlikai
Comment options

Answer selected by EvanLjp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants