Navigation

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

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

    pfBlockerNG
    2
    3
    53
    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.
    • ocerna
      ocerna last edited by ocerna

      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

      RonpfS 1 Reply Last reply Reply Quote 0
      • RonpfS
        RonpfS @ocerna last edited by RonpfS

        @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
        
        ocerna 1 Reply Last reply Reply Quote 0
        • ocerna
          ocerna @RonpfS last edited by

          @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
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy