# No handler found for uri, when starting rollup job

**URL:** <https://discuss.elastic.co/t/no-handler-found-for-uri-when-starting-rollup-job/201950>\
**Category:** Kibana\
**Created:** [October 2, 2019, 12:14pm UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-when-starting-rollup-job/201950 "2019-10-02T12:14:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![s133996](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s133996/32/49924_2.png) [@s133996](https://discuss.elastic.co/u/s133996)\
**Post date:** [October 2, 2019, 12:14pm UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-when-starting-rollup-job/201950/1 "2019-10-02T12:14:43Z")

</div>

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](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](https://www.elastic.co/guide/en/elastic-stack-overview/7.4/security-privileges.html).

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

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 4, 2019, 10:54am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-when-starting-rollup-job/201950/2 "2019-10-04T10:54:32Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![s133996](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s133996/32/49924_2.png) [@s133996](https://discuss.elastic.co/u/s133996)\
**Post date:** [October 7, 2019, 1:05pm UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-when-starting-rollup-job/201950/3 "2019-10-07T13:05:27Z")

</div>

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:

 ![Screenshot_241](https://us1.discourse-cdn.com/elastic/original/3X/b/5/b56eb1a92bdc91c2577ea9201cb1c8f3dbb43e6b.png)

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

 ![Screenshot_240](https://us1.discourse-cdn.com/elastic/original/3X/6/6/6646e534d4a2cad5c25b853e7042530d5a0294e0.png)

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

 ![Screenshot_242](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d02418d1dbd90189241098d54c21afcca5d9a03.png)

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 11, 2019, 12:37pm UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-when-starting-rollup-job/201950/4 "2019-10-11T12:37:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 8, 2019, 12:37pm UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-when-starting-rollup-job/201950/5 "2019-11-08T12:37:24Z")

</div>

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