Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to create a random timestamp #16

Open
JimPaine opened this issue May 13, 2021 · 1 comment
Open

Be able to create a random timestamp #16

JimPaine opened this issue May 13, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Milestone

Comments

@JimPaine
Copy link
Member

Description

When generating something other than logs, such as search queries for Splunk it would be helpful to be able to randomize the date / timestamp that is used, rather than being limited to the current UTC timestamp.

@JimPaine JimPaine added enhancement New feature or request good first issue Good for newcomers labels May 13, 2021
@JimPaine JimPaine added this to the v0.9.0 milestone May 13, 2021
@JimPaine JimPaine added this to To do in Lignator May 13, 2021
@JimPaine
Copy link
Member Author

Currently thinking it would be a good to idea to change the type handling in the random between token so that when lignator first loads and parses the tokens it works out the type to allow us to between other types, such as

  • DateTime
  • Timespan
  • integer
  • double
  • decimal

https://github.com/microsoft/lignator/blob/main/src/TokenMapper.cs#L62-L63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Development

No branches or pull requests

1 participant