Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHANCEMENT]: flusher 报错不明显 #1273

Open
ltx0633 opened this issue Dec 20, 2023 · 3 comments
Open

[ENHANCEMENT]: flusher 报错不明显 #1273

ltx0633 opened this issue Dec 20, 2023 · 3 comments
Labels
enhancement Feature enhancement

Comments

@ltx0633
Copy link

ltx0633 commented Dec 20, 2023

Concisely describe the proposed feature

flusher_elasticsearch 报错不明显

Describe the solution you'd like (if any)

增加清晰的日志输出

Additional comments
当域名不存在的时候,日志中没有明显的错误

    flushers:
      - Type: flusher_stdout
        OnlyStdout: true
      - Type: flusher_elasticsearch
        Addresses:
          - "https://test-es.xxx.com"
        Index: log_%{+yyyyMMdd}
        Authentication:
          PlainText:
            Username: elastic
            Password: xxxxx
@ltx0633 ltx0633 added the enhancement Feature enhancement label Dec 20, 2023
@liangry
Copy link
Collaborator

liangry commented Dec 21, 2023

记得以前有个文件叫:logtail_plugin.LOG,现在怎么没了?

@liangry
Copy link
Collaborator

liangry commented Dec 22, 2023

记得以前有个文件叫:logtail_plugin.LOG,现在怎么没了?

搞错了,两个问题没有关系,这个文件也在

@messixukejia
Copy link
Collaborator

Concisely describe the proposed feature

flusher_elasticsearch 报错不明显

Describe the solution you'd like (if any)

增加清晰的日志输出

Additional comments 当域名不存在的时候,日志中没有明显的错误

    flushers:
      - Type: flusher_stdout
        OnlyStdout: true
      - Type: flusher_elasticsearch
        Addresses:
          - "https://test-es.xxx.com"
        Index: log_%{+yyyyMMdd}
        Authentication:
          PlainText:
            Username: elastic
            Password: xxxxx

如果有需要可以提交PR完善下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature enhancement
Projects
None yet
Development

No branches or pull requests

3 participants