# Using legacy setup after upgrading Elasticsearch to 8.X

**URL:** <https://discuss.elastic.co/t/using-legacy-setup-after-upgrading-elasticsearch-to-8-x/329350>\
**Category:** APM\
**Tags:** php\
**Created:** [April 4, 2023, 6:09pm UTC](https://discuss.elastic.co/t/using-legacy-setup-after-upgrading-elasticsearch-to-8-x/329350 "2023-04-04T18:09:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YvorL](https://avatars.discourse-cdn.com/v4/letter/y/9fc348/32.png) [@YvorL](https://discuss.elastic.co/u/YvorL)\
**Post date:** [April 4, 2023, 6:09pm UTC](https://discuss.elastic.co/t/using-legacy-setup-after-upgrading-elasticsearch-to-8-x/329350/1 "2023-04-04T18:09:51Z")

</div>

Hi,  
My current self-managed setup on v7.9.2 (all parts) looks like this:  
Custom APM agents (hundreds) --\> load balancer --\> APM servers --\> Kafka for MQ --\> Logstash servers --\> Elasticsearch servers

I upgraded a development stack to 8.6.2. After a couple of hours I managed to get it working and saw that data is being indexed. However, I can't see new data in the 'APM' menu. After a while, I checked and saw that the mapping is wrong (not applied). Per the documentation, I installed the integration. I'm not sure how can I set the mapping up on a 8.X stack, I don't think copying the old template would be sufficient. Could someone help with this issue?

Thanks!

---

<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:** [April 25, 2023, 2:10pm UTC](https://discuss.elastic.co/t/using-legacy-setup-after-upgrading-elasticsearch-to-8-x/329350/2 "2023-04-25T14:10:46Z")

</div>

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