You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is expected behavior as to_float can only convert actual timestamps and not string timestamps. For your first example where you have a string timestamp you can use:
This is expected behavior as to_float can only convert actual timestamps and not string timestamps. For your first example where you have a string timestamp you can use:
A note for the community
Problem
"log_timestamp":"2023-09-27T02:42:40.672720190Z"
.a,err = to_float(.log_timestamp) return 0.0
but .b = to_float(t'2023-09-27T02:42:40.672720190Z') return 1695782560.6727202
Configuration
Version
vector 0.32.2 (x86_64-unknown-linux-musl beb74c1 2023-09-20 19:46:02.271601143)
Debug Output
No response
Example Data
{"log_timestamp":"2023-09-27T02:42:40.672720190Z","source":"localhost"}
Additional Context
No response
References
No response
Tasks
The text was updated successfully, but these errors were encountered: