IBM Support

IJ36969: INCORRECT JSON FORMATTING FOR ESCAPE CHARACTERS IN WATCH FOLDER / FILE AUDIT LOGGING

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Certain characters such as newline (\n) or backslash (\),
    etc were not escaped correctly resulting in invalid JSON.
    JSON parsers are not be able to read the event correctly.
    

Local fix

  • One could programmatically escape existing events to
    create valid JSON before the parser tries to ingest the event.
    

Problem summary

  • Certain characters such as newline (\n) or backslash (\),
    etc were not escaped correctly resulting in invalid JSON.
    JSON parsers are not be able to read the event correctly.
    

Problem conclusion

  • This problem is fixed in 5.0.5  PTF 12
    To see all Spectrum Scale APARs and
    their respective fix solutions refer to page
    https://public.dhe.ibm.com/storage/spectrumscale/spectrum_scale
    apars.html
    
    Benefits of the solution:
    JSON parsers can correctly parse the events
    from Watch Folder / File Audit Logging
    Work around:
    One could programmatically escape existing events to
    create valid JSON before the parser tries to ingest the event.
    Problem trigger:
    Filenames, acls, or xattrs with escape characters
    Symptom:  Unexpected Results/Behavior
    Platforms affected: ALL Linux OS environments
    Functional Area affected: File audit logging / Watch Folder
    Customer Impact: Suggested
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ36969

  • Reported component name

    SPEC SCALE STD

  • Reported component ID

    5737F33AP

  • Reported release

    505

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-01-10

  • Closed date

    2022-01-10

  • Last modified date

    2022-01-10

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SPEC SCALE STD

  • Fixed component ID

    5737F33AP

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STXKQY"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"505","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
11 January 2022