A java application log


(Bouali Inass) #1

Hey everyone i have a java application and i wanna visualise her logs with kibana but i dont wanna read those files with filebeat and send them to logstash
i want to send them directly to logstash !!!
Is there anyway i can do this ??


(Leandro Maciel) #2

The application is on the same machine as the Logstash service? If it is, you can use the file input plugin in logstash.

input {
    file {
        path => "/your/application/logfile.log"
        type => "type-name"      
    }
}

And then, if you need, you can parse the log lines in the filter block of the pipeline.


(system) #3

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