-
I want generate logs with fake date between {from: "iso8601", to "iso8601"}. |
Beta Was this translation helpful? Give feedback.
Answered by
jszwedko
Oct 5, 2023
Replies: 1 comment 3 replies
-
Hmm, I don't think that would be possible via VRL at the moment. I'm curious what use case you have for this. Could you describe it more? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, gotcha. You certainly could convert the timestamp to a unix timestamp and use arithmetic. This is a bit on the fringes of Vector's use-cases so I'm not sure how much of a priority it would be to better support it, natively. You could also consider writing a shell script to generate the logs and feeding them into Vector via the
stdin
source to send them into Elasticsearch.