I took the liberty of editing your post to make it legible. Please use the code tags or triple back-ticks to encapsulate preformatted text in the future.
First, you can create the index and the alias in one shot:
PUT /logservices-2018.04.17-1
{
"aliases": {
"logservices": {}
}
}
Second, there is an undocumented feature for the rollover action that lets you name a new index:
options:
...
new_index: '<logservices-{now/d}-1}>'
If you need something other than the current year-month-day, look at the date math docs and follow the conventions there.