1. metricbeat

    image.png
    image.png node_stats?

    2\filebeat

    The Filebeat Elasticsearch module can handle audit logs, deprecation logs, gc logs, server logs, and slow logs.
    2.1 收集GC日志: 64MB, 配置GC日志的路径.
    rotates the logs every 64 MB and can consume up to 2 GB of disk space.Enable GC logging to a custom location with a variety of options

    -Xlog:gc*,gc+age=trace,safepoint:file=/opt/my-app/gc.log:utctime,pid,tags:filecount=32,filesize=64m