Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-80252

[RFE] Structured (JSON) logging option for RHDS access and error logs

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.1
    • None
    • 389-ds-base
    • None
    • 389-ds-base-3.1.3-3.el10
    • None
    • rhel-idm-ds
    • 20
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      dirsrvtests/tests/suites/logging/access_json_logging_test.py
      dirsrvtests/tests/suites/logging/error_json_logging_test.py

      Show
      dirsrvtests/tests/suites/logging/access_json_logging_test.py dirsrvtests/tests/suites/logging/error_json_logging_test.py
    • Pass
    • Automated
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      (Copied from case verbatim)

      Given the newer security log is in a JSON format, could we consider an optional access logging format that would consolidate relevant log information into a structured format? I wouldn't even necessarily suggest this become a default change, but first an option to change to this style of logging.

      Example: If there is RESULT entry from a bind failure, I have to find the corresponding BIND operation line to find the DN, and then find the first line for the host's "conn=" to find the source IP. Having certain details repeated (like the connection IP in addition to the internal connection number), is a substantial improvement in usability at the cost of some increased disk IO and storage.

      (Simiarly, high etime (unindexed) searches can have many other log entries between the SRCH line and the RESULT line.)

              rhn-engineering-mareynol Mark Reynolds
              rhn-support-ccallaha Chance Callahan
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: