K
K
Kirill Gorelov2016-05-17 14:41:11
linux
Kirill Gorelov, 2016-05-17 14:41:11

Goaccess not converting to HTML format?

Hello.
I installed a cool thing on the server, Goaccess (I don’t explain what it is. Those who know what it is don’t need to explain to them).
Executes commands, everything is fine. But the problem. Does not convert to html format.
Writes the following error
Config file: /etc/goaccess.conf
Fatal error has occurred
Error occured at: src/parser.c - verify_formats - 2215
No time format was found on your conf file.
Does anyone know how to fix this or what could be the problem.
I do everything according to the manuals both on the network and at the office. site!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Coocheenin, 2016-07-14
@coocheenin

If you are converting to html, and not to console output, then you need to uncomment at least 3 lines in the configuration file . Apache as an example:

time-format %H:%M:%S
date-format %d/%b/%Y
log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"

Time format, date format and log file format respectively.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question