https://bugs.openldap.org/show_bug.cgi?id=9745
Issue ID: 9745 Summary: Local Logging - Timestamp Formatting Product: OpenLDAP Version: 2.6.0 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: gnoe@symas.com Target Milestone: ---
Timestamps for log lines in the 2.6+ local logging feature are saved unformatted (ex: "618ae741.0f6eb63a"). This has the potential to break any log aggregation/analysis program like splunk that expect timestamps in syslog format.
These timestamps should configurable in various syslog formats.
https://bugs.openldap.org/show_bug.cgi?id=9745
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=9746
https://bugs.openldap.org/show_bug.cgi?id=9745
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Howard Chu hyc@openldap.org --- No. Already discussed here. https://lists.openldap.org/hyperkitty/list/openldap-technical@openldap.org/m...
https://bugs.openldap.org/show_bug.cgi?id=9745
--- Comment #2 from Howard Chu hyc@openldap.org --- The correct path forward here is to submit an enhancement to Splunk to get it to parse this hex timestamp format.
https://bugs.openldap.org/show_bug.cgi?id=9745
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to Howard Chu from comment #2)
The correct path forward here is to submit an enhancement to Splunk to get it to parse this hex timestamp format.
Splunk already supports this:
https://community.splunk.com/t5/Getting-Data-In/hex-encoded-unix-timestamp/m...
https://bugs.openldap.org/show_bug.cgi?id=9745
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=9745
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- Status|VERIFIED |UNCONFIRMED
https://bugs.openldap.org/show_bug.cgi?id=9745
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #4 from Howard Chu hyc@openldap.org --- Upon reconsideration...
https://git.openldap.org/openldap/openldap/-/merge_requests/448
Please test.
https://bugs.openldap.org/show_bug.cgi?id=9745
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |TEST Target Milestone|--- |2.6.1
--- Comment #5 from Quanah Gibson-Mount quanah@openldap.org --- • a1799a6e by Howard Chu at 2021-11-16T18:57:54+00:00 ITS#9745 add config keyword for logfile format
https://bugs.openldap.org/show_bug.cgi?id=9745
--- Comment #6 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• 3035d5e3 by Howard Chu at 2021-11-16T20:37:55+00:00 ITS#9745 add config keyword for logfile format
https://bugs.openldap.org/show_bug.cgi?id=9745
--- Comment #7 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 510c95af by Howard Chu at 2021-11-16T23:37:54+00:00 ITS#9745 more for prev commit
https://bugs.openldap.org/show_bug.cgi?id=9745
--- Comment #8 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• 389f3d9d by Howard Chu at 2021-11-17T16:33:43+00:00 ITS#9745 more for prev commit
https://bugs.openldap.org/show_bug.cgi?id=9745
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=9745
--- Comment #9 from Quanah Gibson-Mount quanah@openldap.org --- Still missing precision timestamps as per https://datatracker.ietf.org/doc/html/rfc5424#section-6.2.3.1