Optimization #1718
openTime stamp in Log files should be ISO 8601 format
Description
Current date string in suricata is only accepted in the USA. In order to consider international use it is generally a good idea to conform with ISO 8601, EN 28601. Most countries on the planet have adopted this standard. I have created a patch for this, i have tested it and it works. This code is of course under GNU License 2, you are welcome and encouraged to use it in suricata.
Files
AH Updated by Andreas Herz over 10 years ago
- Assignee set to Joachim Schwender
- Target version changed from 3.0.1RC1 to 70
This might be something we could add optional with some config option.
Nevertheless patches are welcome but the prefered way is via git pull requests, see:
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Github_work_flow
VJ Updated by Victor Julien over 10 years ago
AH Updated by Andreas Herz almost 10 years ago
- Target version changed from 70 to TBD
AH Updated by Andreas Herz over 7 years ago
- Status changed from New to Assigned
Are you still interested in contributing?
AH Updated by Andreas Herz over 7 years ago
- Related to Feature #1469: Use ISO 8601 date/time formats added
VJ Updated by Victor Julien almost 7 years ago
- Status changed from Assigned to New
- Assignee changed from Joachim Schwender to Community Ticket
PA Updated by Philippe Antoine about 1 month ago
- Status changed from New to Feedback
I think it is the case now
"timestamp": "2025-12-29T03:02:14.507838+0100",
Is it not ?
JI Updated by Jason Ish 5 days ago
James Moe wrote in #note-8:
Philippe Antoine wrote in #note-7:
I think it is the case now
"timestamp": "2025-12-29T03:02:14.507838+0100",
Is it not ?That is not enough information to use it. Is that the format for the YAML conf file? Where is it placed?
This is EVE format. It should be enough. The time format on stdout and non-EVE is more Americanized, I believe. Will have to be more specific when talking about the time format. What file specifically.