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

Logconv.pl CSV file contains mismatched header and data columns

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.5
    • None
    • 389-ds-base
    • 389-ds-base-2.5.2-1.el9
    • None
    • Moderate
    • rhel-sst-idm-ds
    • ssg_idm
    • 25
    • 0
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • ---
    • None

      Description of problem:

      When logconv.pl is run in a mode that generates a CSV file, for example by supplying -M accessreport.csv on the command line, the first (header) row of the generated file contains 19 columns but the following data rows contain 20 columns each.

      The missing header column is the next-to-last column (corresponding to the "notesF" metric), just before "ElapsedTime", and should be "Invalid filter" or something like that.

      Version-Release number of selected component (if applicable):

      Access Log Analyzer v8.2

      How reproducible:

      Always

      Steps to Reproduce:
      1. Run

      logconv.pl -M accessreport.csv /var/log/dirsrv/slapd-*/access

      2. Run

      awk -F, 'NR==1{print NF}NR==2{print NF}NR>2{exit}' accessreport.csv

      3.

      Actual results:

      19
      20

      Expected results:

      20
      20

      Additional info:

              jachapma James Chapman
              jira-bugzilla-migration RH Bugzilla Integration
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: