# Elastic-APM Invalid index name \[\_license\]

**URL:** <https://discuss.elastic.co/t/elastic-apm-invalid-index-name-license/274131>\
**Category:** Elasticsearch\
**Created:** [May 27, 2021, 1:07am UTC](https://discuss.elastic.co/t/elastic-apm-invalid-index-name-license/274131 "2021-05-27T01:07:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pszm](https://avatars.discourse-cdn.com/v4/letter/p/e36b37/32.png) [@pszm](https://discuss.elastic.co/u/pszm)\
**Post date:** [May 27, 2021, 1:07am UTC](https://discuss.elastic.co/t/elastic-apm-invalid-index-name-license/274131/1 "2021-05-27T01:07:48Z")

</div>

We are trying to get elastic-apm install (for now on our development systems).

According to Homebrew, we have the latest `elasticsearch-oss` (7.10.2), `kibana-oss` (7.10.2) and today installed `apm-server-oss` (which is at version 7.13.0).  
Running a apm-server test output we get:

```auto
    % apm-server test output                
    elasticsearch: http://localhost:9200...
      parse url... OK
      connection...
        parse host... OK
        dns lookup... OK
        addresses: ::1, 127.0.0.1
        dial up... OK
      TLS... WARN secure connection disabled
      talk to server... ERROR Connection marked as failed because the onConnect callback failed: could not connect to a compatible version of Elasticsearch: 400 Bad Request: {"error":{"root_cause":[{"type":"invalid_index_name_exception","reason":"Invalid index name [_license], must not start with '_'.","index_uuid":"_na_","index":"_license"}],"type":"invalid_index_name_exception","reason":"Invalid index name [_license], must not start with '_'.","index_uuid":"_na_","index":"_license"},"status":400}

```

Because the documentation on getting APM going is somewhat obtuse, perhaps this is a configuration issue. But how to investigate further?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 27, 2021, 5:01am UTC](https://discuss.elastic.co/t/elastic-apm-invalid-index-name-license/274131/2 "2021-05-27T05:01:24Z")

</div>

You need to use the same version of the stack everywhere. 7.13.0 for all products.

---

<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:** [June 24, 2021, 5:01am UTC](https://discuss.elastic.co/t/elastic-apm-invalid-index-name-license/274131/3 "2021-06-24T05:01:32Z")

</div>

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