GetToday's inside Logstash Conf

I am trying to invoke a service using HTTP_Poller.

The service accepts 2 parameters.

  1. Today's Date
  2. Today's Date - 3 Months

Can anyone tell me how can I achieve this ?

I see no other solution than periodically generating a Logstash configuration containing the desired dates.

Is there any way to periodically create such file using any logstash plugin today ? Or is this something I need to achieve using some other code.

There are no Logstash plugins to generate Logstash configuration files. This is a job for a small script and a cronjob.

Thanks magnus