My Java application is logging to a file and I currently read it with a desktop application that splits it out into columns something like below:

| Timestamp           | Level  | Category                          | Message   |
| ------------------- |:------:|:---------------------------------:| -------------------------------------------:|
| 2019-02-28 12:16:36 | INFO   | o.s.w.s.h.SimpleUrlHandlerMapping | Mapped URL path [/webjars/**] onto handler  |
| 2019-02-28 12:16:40 | ERROR  | o.s.w.s.h.SimpleUrlHandlerMapping | Failed to find path......                   |
| 2019-02-28 12:16:45 | DEBUG  | o.s.w.s.h.SimpleUrlHandlerMapping | Loading from jar                            |

A bit similar to Apache Chainsaw really: enter image description here

The columns can be sorted and filtered.

I now need to move to a web based solution.

Elastic with logstash and kibana has been suggested but it looks overly complicated and does a lot more than just displaying the logs.

Also, Kibana doesn't seem to be able to highlight rows based on log level in the same way as the screenshot above.

I don't want to pay for Splunk.

Is there an alternative that balances being up to date and not too complicated?

  • What is the format of your logs? Just simple text files? Are you willing to add an appender to append logs to another destination such as a database? – Nicolas Raoul Mar 5 '19 at 7:27
  • Just normal text based log file. DB Appender is fine, I don't want to custom write everything though – opticyclic Apr 18 '19 at 16:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.