# No services were found JAVA

**URL:** https://discuss.elastic.co/t/no-services-were-found-java/160160
**Category:** APM
**Created:** [December 10, 2018, 11:36am UTC](https://discuss.elastic.co/t/no-services-were-found-java/160160 "2018-12-10T11:36:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MishMick](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@MishMick](https://discuss.elastic.co/u/MishMick)
#### Post date: [December 10, 2018, 11:36am UTC](https://discuss.elastic.co/t/no-services-were-found-java/160160/1 "2018-12-10T11:36:30Z")

</div>

Hi ,

I am trying to setup APM for my java application. I have checked that my apm-agent and app-server status but still getting the error.

PS Mine is a non-springboot java application.

---

<div class="post-metadata">

### Author: ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)
#### Post date: [December 10, 2018, 1:11pm UTC](https://discuss.elastic.co/t/no-services-were-found-java/160160/2 "2018-12-10T13:11:05Z")

</div>

Hi Mishal,

The APM UI might be reading from incorrect indicies and therefore not get any data. Can you try adding the following to `kibana.yml`:

```auto
apm_oss.errorIndices: apm-*
apm_oss.spanIndices: apm-*
apm_oss.transactionIndices: apm-*
apm_oss.onboardingIndices: apm-*

```

Thanks!

---

<div class="post-metadata">

### Author: ![MishMick](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@MishMick](https://discuss.elastic.co/u/MishMick)
#### Post date: [December 13, 2018, 6:19am UTC](https://discuss.elastic.co/t/no-services-were-found-java/160160/3 "2018-12-13T06:19:20Z")

</div>

My Kibana version is 6.5.1. Will these changes still work in that version?

---

<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 3, 2019, 2:19am UTC](https://discuss.elastic.co/t/no-services-were-found-java/160160/4 "2019-01-03T02:19:22Z")

</div>

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