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