How to make the year visible in the log format pfBlocker (ip_block.log)
-
Hello,
pfSense version 2.5.0-RELEASE (amd64).
pfBlockerNG-devel 3.0.0_10.I would like you could help me as an inconvenience that I am having with respect to the logs format of the pfBlocker, in which it is not showing me the year, at the moment it is only showing this "MMM DD HH: MM: SS", I would like to see something similar to this "YYYY MMM DD HH: MM: SS", all similar to the original format but that the year is visible.
I need it like this for my dashboard of reports that are being implemented in which the data regarding the year is essential.
Thanks.
-
@ocerna BTW The pfsense log don't have the
dateyear :Feb 23 17:19:24 pfSense filterlog: 9,,,1000000103,xl0,match,block,in,4,0x0
-
@ronpfs a pleasure.
In your example there is a date, the missing data is the year.
Feb 23 17:19:24 pfSense filterlog: 9,,,1000000103,xl0,match,block,in,4,0x0