No handler found for uri, when starting rollup job

I have made a roll up job on the Kibana using the API:

curl -X PUT 10.52.1.13:9200/etel_rollup-hourly/job/etel_hourly -H 'Content-type:application/json' -d @rollup.json
with this I get the response:
{"_index":"etel_rollup-hourly","_type":"job","_id":"etel_hourly","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"_seq_no":0,"_primary_term":1}[admin_nc_mall@moby-etlt-dck01 ~]$ curl -X PUT 10.52.1.13:9200

I however have trouble starting this roll up job as described here https://www.elastic.co/guide/en/elasticsearch/reference/7.4/rollup-start-job.html
ycurl -X POST 10.52.1.13:9200/etel_rollup-hourly/job/etel_hourly/_start
as I get following error:
{"error":"no handler found for uri [/etel_rollup-hourly/job/etel_hourly/_start] and method [POST]"}

I've had trouble with finding anyone else with this problem, any ideas?

I use kibana and elasticsearch version 7.4 which are running through a docker container.

It may be possible the issue is this line in the documentation of starting rollup jobs:
You must have manage or manage_rollup cluster privileges to use this API. For more information, see Security privileges.

I however I'm not sure how to add these privilieges to myself, any other or the default user.

Edit
I've read that the default Super user is elastic and its password is changeme, adding the following credentials like this:
curl --user elastic -X GET 10.52.1.13:9200/etel_rollup-hourly/job/etel_hourly/_start and then writing the password when prompted, gives the same result

The rollup api is part of elasticsearch, not kibana and this is how it's called: https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-start-job.html
curl -X POST "localhost:9200/_rollup/job/sensor/_start?pretty"
in your example you need to change that etel_rollup-hourly to _rollup.
Also, I highly recommend to just use the UI in kibana to create a rollup job, it's easier to configure and harder to get wrong.

Thanks for your answer @Marius_Dragomir,
I'm now using the kibana UI instead, and fixed the POST url, but unfortunately I get the same result:

However I find something weird, which is that when I try create a new rollup job, using _rollup I get following error:

that error is not present when using the "wrong" rollup:

Not that UI, sorry.
This one: https://www.elastic.co/guide/en/kibana/current/data-rollups.html
You can find it in Management -> Rollup Jobs.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.