No, I mean to be "listening" from Logstash any event in a opened OutputStream in Java. I don't want to read from Files, I want to read from outputStream that comes from Java -> Get it by Logstash -> Process it by XML plugin (as you told me before) -> Store it by ElasticSearch.
So, my question is about the first "connection": between my Java application and Logstash input plugin, if there is a plugin which reads streams from a Java Application.
From your Java, you can communicate with LogStash via TCP or HTTP easily I am sure. If you want HA, use a queue like RabbitMQ or Kafka between Java and LogStash.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.