• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How to make the year visible in the log format pfBlocker (ip_block.log)

Scheduled Pinned Locked Moved pfBlockerNG
3 Posts 2 Posters 415 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    ocerna
    last edited by ocerna Feb 23, 2021, 9:47 PM Feb 23, 2021, 9:44 PM

    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.

    d133775b-2c7f-472a-8b9e-c39a22abb6b4-image.png

    R 1 Reply Last reply Feb 23, 2021, 10:21 PM Reply Quote 0
    • R
      RonpfS @ocerna
      last edited by RonpfS Feb 24, 2021, 4:43 PM Feb 23, 2021, 10:21 PM

      @ocerna BTW The pfsense log don't have the date year :

      Feb 23 17:19:24 pfSense filterlog: 9,,,1000000103,xl0,match,block,in,4,0x0
      

      2.4.5-RELEASE-p1 (amd64)
      Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
      Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

      O 1 Reply Last reply Feb 24, 2021, 4:13 PM Reply Quote 0
      • O
        ocerna @RonpfS
        last edited by Feb 24, 2021, 4:13 PM

        @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

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received