sirupsen / logrus

Structured, pluggable logging for Go.
MIT License
24.8k stars 2.27k forks source link

how to collect stdout log by filebeat #1305

Closed iweixubin closed 2 years ago

iweixubin commented 2 years ago

OS: Linux

    log.SetOutput(os.Stdout)
    log.SetFormatter(&log.JSONFormatter{})

i dont want to use log file but i can't find the way to collect stdout with filebeat