How do I send logs from glassfish 4.1 to logstash to analyze them with kibana? Any example that works?

I have installed ELK Stack but I can not find examples of capturing glassfish logs and less version 4.1. Could you explain me in detail?

I have installed ELK, configured the three tools and from a VPS. Then install filebeat on the vps that has installed Glassfish 4.1 indicating its path. But when launching the filebeat service after configuring it to send the logs to the other vps,
I get this error that is not understood:

insserv: Starting glassfish depends on grafana-server and therefore on system facility `$all' which can not be true!

https://askubuntu.com/posts/1139160/revisions

It is not understood because grafana server is installed on another server.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.