# \[APM Cloud\] Error while changing output.elasticsearch.index - V7.13.4

**URL:** <https://discuss.elastic.co/t/apm-cloud-error-while-changing-output-elasticsearch-index-v7-13-4/311149>\
**Category:** APM\
**Tags:** rum\
**Created:** [August 1, 2022, 5:22pm UTC](https://discuss.elastic.co/t/apm-cloud-error-while-changing-output-elasticsearch-index-v7-13-4/311149 "2022-08-01T17:22:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Sa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jose_sa/32/98643_2.png) [@Jose\_Sa](https://discuss.elastic.co/u/Jose_Sa)\
**Post date:** [August 1, 2022, 5:22pm UTC](https://discuss.elastic.co/t/apm-cloud-error-while-changing-output-elasticsearch-index-v7-13-4/311149/1 "2022-08-01T17:22:11Z")

</div>

Hello,  
I'm trying to add date to the apm report title using the following command:" output.elasticsearch.index: "apm-%{[observer.version]}-%{[processor.event]}-%{+yyyy.MM.dd}" but I'm getting configuration failed.

By default it is like this "apm-7.13.4-transaction-000189" and I want to put it like this  
"apm-7.13.4-2022-08-01-transaction-000189", is it possible?

Prints attached.

 ![apm2](https://us1.discourse-cdn.com/elastic/original/3X/b/f/bfed14aeeddfb75c7e9f131b839514e9dfb3bcb6.png)  
 ![apm print](https://us1.discourse-cdn.com/elastic/original/3X/c/f/cf5dca52434db49eb5c70f52df688dc174a0c2d5.png)

---

<div class="post-metadata">

**Author:** ![lahsivjar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lahsivjar/32/101451_2.png) [@lahsivjar](https://discuss.elastic.co/u/lahsivjar)\
**Post date:** [August 2, 2022, 9:03am UTC](https://discuss.elastic.co/t/apm-cloud-error-while-changing-output-elasticsearch-index-v7-13-4/311149/2 "2022-08-02T09:03:04Z")

</div>

@Jose_Sa You will also need to update `setup.template.name` and `setup.template.pattern`. For example:

```auto
setup.template.name: "apm-%{[observer.version]}-%{[processor.event]}-*"
setup.template.pattern: "apm-%{[observer.version]}-%{[processor.event]}-*"
output.elasticsearch.index: "apm-%{[observer.version]}-%{[processor.event]}-%{+yyyy.MM.dd}"

```

For full details please refer to [official docs](https://www.elastic.co/guide/en/apm/server/7.13/elasticsearch-output.html#index-option-es).

---

<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:** [August 23, 2022, 5:03am UTC](https://discuss.elastic.co/t/apm-cloud-error-while-changing-output-elasticsearch-index-v7-13-4/311149/3 "2022-08-23T05:03:44Z")

</div>

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