# Rollup job id with space

**URL:** <https://discuss.elastic.co/t/rollup-job-id-with-space/220892>\
**Category:** Elasticsearch\
**Created:** [February 25, 2020, 4:32pm UTC](https://discuss.elastic.co/t/rollup-job-id-with-space/220892 "2020-02-25T16:32:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alarka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alarka/32/59592_2.png) [@alarka](https://discuss.elastic.co/u/alarka)\
**Post date:** [February 25, 2020, 4:32pm UTC](https://discuss.elastic.co/t/rollup-job-id-with-space/220892/1 "2020-02-25T16:32:33Z")

</div>

I created a Rollup job with the "id" field having a space. Now, for stopping the job, I have to run

`POST _rollup/job/<job_id>/_stop`

How do I handle the space? I tried the following and they did not work. I am running ES v7.5  
`POST _rollup/job/"AB CDE"/_stop`  
`POST _rollup/job/'AB CDE'/_stop`  
`POST _rollup/job/`AB CDE`/_stop`

```
{
  "jobs" : [
    {
      "config" : {
        "id" : "AB CDE", <--- has a space
        "index_pattern" : "abcd-*",
        "rollup_index" : "abcd-rollup",
        "cron" : "0 0 * * * ?",
        "groups" : {
          "date_histogram" : {
            "fixed_interval" : "1000ms",
            "field" : "@timestamp",
            "delay" : "30s",
            "time_zone" : "UTC"
          },
```

---

<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:** [March 24, 2020, 4:40pm UTC](https://discuss.elastic.co/t/rollup-job-id-with-space/220892/2 "2020-03-24T16:40:31Z")

</div>

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