christiangalsterer / httpbeat

Elastic Beat to call HTTP endpoints
Apache License 2.0
107 stars 40 forks source link

Current date in httpbeat.yml #18

Open bahim opened 7 years ago

bahim commented 7 years ago

Hi,

Is there a way to put the current date in the url and/or the body of a request ? i.e: urls:

    url: http://localhost:9200/logevent-%{+yyyy.MM.dd}
christiangalsterer commented 7 years ago

Currently there is no support for parameter interpolation. You may try to use execbeat and use a bash/curl combination to call the endpoint with dynamic parameters.