March 2018
Intermediate to advanced
500 pages
12h 40m
English
To install Logstash:
In the case of Logstash, simply downloading and running it will not suffice. We must configure it to understand the structure of our Spring log file. We do this by creating a Logstash configuration file. A Logstash config file contains three critical sections. These are the input, filter, and output sections. Each section sets up plugins that play a role in the processing of log files. Create a logstash.conf file in a suitable directory and add the following code to it:
input { file { type => "java" path => "/<path-to-project>/place-reviewer/application.log" codec => multiline { pattern => "^%{YEAR}-%{MONTHNUM}-%{MONTHDAY} ...
Read now
Unlock full access