# Elastic APM index name requirement?

**URL:** <https://discuss.elastic.co/t/elastic-apm-index-name-requirement/348639>\
**Category:** APM\
**Tags:** elastic-stack-monitoring, ui\
**Created:** [December 5, 2023, 12:49pm UTC](https://discuss.elastic.co/t/elastic-apm-index-name-requirement/348639 "2023-12-05T12:49:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jasonespo](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Jasonespo](https://discuss.elastic.co/u/Jasonespo)\
**Post date:** [December 5, 2023, 12:49pm UTC](https://discuss.elastic.co/t/elastic-apm-index-name-requirement/348639/1 "2023-12-05T12:49:12Z")

</div>

Hi,

I was wondering if there is a requirement on the index name for the logs to appear in the logs section of an Elastic APM transaction?

I moved to using Elastic Serverless Forwarder to send applications logs to a custom named data stream. These logs go into a custom named index and this index does not start with the word `logs`.

However the logs no longer appear in APM transactions.

Thanks,

Jason

---

<div class="post-metadata">

**Author:** ![achyutjhunjhunwala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/achyutjhunjhunwala/32/124654_2.png) [@achyutjhunjhunwala](https://discuss.elastic.co/u/achyutjhunjhunwala)\
**Post date:** [December 5, 2023, 2:08pm UTC](https://discuss.elastic.co/t/elastic-apm-index-name-requirement/348639/2 "2023-12-05T14:08:42Z")

</div>

The indices comes from the Logs Settings page  
You can navigate it under Observability -\> Logs -\> Streams and the Settings on the Top of the Page.

You will see the default value set there is - `logs-*,filebeat-*,kibana_sample_data_logs*`

It should be possible to add your custom index.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/0/90bed83769393d997e630eb64bace1c8cefaca0f.jpeg)

---

<div class="post-metadata">

**Author:** ![Jasonespo](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Jasonespo](https://discuss.elastic.co/u/Jasonespo)\
**Post date:** [December 5, 2023, 3:39pm UTC](https://discuss.elastic.co/t/elastic-apm-index-name-requirement/348639/3 "2023-12-05T15:39:20Z")

</div>

Thank you 🙂 - didn't think to check here!

---

<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:** [January 2, 2024, 3:39pm UTC](https://discuss.elastic.co/t/elastic-apm-index-name-requirement/348639/4 "2024-01-02T15:39:22Z")

</div>

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