Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

Unable to parse the time stamp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Unable to parse the time stamp

L0 Member

I have trying to create a new field with existing string field (cretedDate) which is already in a ISO 8601 format but. unable to parse it

sample value of feild createdDate=2019-08-29T10:10:26.608Z

 



here below the query i have used


| alter filedate = parse_timestamp("%Y-%m-%dT%H:%M:%S.%fZ", createdDate)


Anybody help me to sort this out

 

Cortex XSIAM Cortex XDR 

1 REPLY 1

L5 Sessionator

Hi @SUDHAKARVEL, thanks for reaching us using the Live Community.

 

Please take a look at the parse_timestamp documentation here: https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-XQL-Language-Reference/parse_timest...

Looks like you are missing the format_string function.

 

If this post answers your question, please mark it as the solution.

JM
  • 129 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!