Logstassh is not converting EPOCH to human readable format.
- Dominant language
- Java
- Stars
- 14.9k
- Forks
- 3.5k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 88
Description
Sample data : "TimeCreated": "\/Date(1493308346140)\/",
----
Filter
----
filter {
if [type == 'eventlog'] {
grok {
match => [ 'TimeCreated', "Date\(%{NUMBER:timestamp}\)" ]
}
date {
match => [ 'timestamp', 'UNIX_MS' ]
}
}
I can see properly sparsed field in kibana
"Date(1493308346140)"
However, it is not converted to timestamp.
Please advise. Logstash version : 5.4.1
Thanks,
Contributor guide
Research direction
Start with the shown filter configuration, especially the grok match for TimeCreated and the date filter's timestamp field, then check the Logstash 5.4.1 behavior for UNIX_MS. Done means the parsed epoch value is converted into the event timestamp and appears as a human-readable time in Kibana.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100