Skip to content

Fake date generator #494

Answered by jszwedko
alexpts asked this question in Q&A
Oct 5, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@alexpts
Comment options

@jszwedko
Comment options

Answer selected by alexpts
@alexpts
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants