Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
nginxg logs are bad
« previous
next »
Print
Pages: [
1
]
Author
Topic: nginxg logs are bad (Read 1631 times)
siga75
Full Member
Posts: 187
Karma: 11
nginxg logs are bad
«
on:
October 02, 2019, 06:31:51 pm »
I love OPNsense so much, but TBH nginx logs are terrible, for example
- they are not in reverse order, having the newest logs on top
- banned IP have epoch time format, which I have to execute a "date -d@xxxxxxxxxxx" on a linux to get a human readable value
I would love to have something like the really nice live view of the firewall log
Is it planned? Or am I missing something? (a plugin, or a setting somewhere)
Thanks and keep on the great work
Logged
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: nginxg logs are bad
«
Reply #1 on:
October 02, 2019, 07:49:24 pm »
I have nothing planned but reversing the log is easy. The epoch times probably need some bigger changes.
Logged
siga75
Full Member
Posts: 187
Karma: 11
Re: nginxg logs are bad
«
Reply #2 on:
October 02, 2019, 08:34:26 pm »
thx for quick reply, looks like freebsd equivalent is with -r option
Linux:
# date -d@1569899580
Tue 01 Oct 2019 05:13:00 AM CEST
freeBSD:
# date -r 1569899580
Tue Oct 1 05:13:00 CEST 2019
Logged
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: nginxg logs are bad
«
Reply #3 on:
October 03, 2019, 12:09:10 am »
we will need a javascript formatter so this will not help.
Logged
siga75
Full Member
Posts: 187
Karma: 11
Re: nginxg logs are bad
«
Reply #4 on:
October 04, 2019, 01:40:15 pm »
well, no need to reinvent the wheel, I guess it's plenty of functions that do that googling
Logged
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
nginxg logs are bad