Skip to main content
Question

RFC3339 parsing issue

  • Nov 18, 2025 11:22 AM UTC
  • 2 replies
  • 104 views

Forum|alt.badge.img+3

I facing an issue for parsing RFC3339 can anyone help me
In statedump it is showing the time stamp like this

"ts": "2025-11-18T21:17:14.026+10:00"

the code i am using is 
 

date {

      match => ["ts", "RFC3339"]

      target => "event.idm.read_only_udm.metadata.event_timestamp"

      on_error => "date_parse_failed"

    }

but i am getting error

"date_parse_failed": true

2 replies

vaskenh
Staff
Forum|alt.badge.img+13
  • Staff
  • Nov 19, 2025 7:01 PM UTC

Hi ​@satya_saketh.  In this scenario, does the parsing outcome change if you substitute that match line with one that is more explicit to the timestamp you are working with? 

Ie, what if you change the match line to this:

Does the parsing logic succeed?  If it does, there might be some small nuance between the timestamp you’re working with and the format that is expected by that built-in RFC3339 format.

--Vasken

  match => ["ts", "yyyy-MM-dd'T'HH:mm:ss.SSSZ"]

Forum|alt.badge.img+3
  • Author
  • Bronze 5
  • Nov 20, 2025 6:05 AM UTC

Hi ​@vaskenh ,
Thank you for your insights.
i have replace my code line with the one you shared,
still i am facing the same issue.
nothing changed.

--Satya