I have a requirement where I need to use specific date/time for a testing at Ruby scripts and not at Logstash level. Is there a way i could stub those value?
Currently I am using the enviorment variable to check if it is test
then use x
date if not then use current datetime.
Is there a better way to configure logstash for different env.