Hi,
Posting solution for below issue.
Hello,
fairly new to rollup jobs here and i have created one called "new rollup" to play around with now i want to delete it but i have to stop it first and when i try to stop it i get this error
POST _rollup/job/new rollup/_stop
{ "error" : "Incorrect HTTP method for uri [/_rollup/job/new?pretty=true] and method [POST], allowed: [PUT, DELETE, GET]", "status" : 405 }
any guidance on how to stop this job?
regards,
Solution:
Get all tasks.
GET /_tasks
Identify rollup task.
ctrl + f > rollup
Kill the roll up task by task id.
Note: Dont copy value from "id" field. Use entire Id mentioned after "tasks" field.
e.g: "tasks": { "AlphaNumeric values": {
POST /_tasks/task_id/_cancel
Now verify running rollup jobs.
GET /_rollup/job/_all
Thanks,
Akshay