# No Service Found in APM DATA

**URL:** https://discuss.elastic.co/t/no-service-found-in-apm-data/326325
**Category:** APM
**Tags:** server, ui
**Created:** [February 23, 2023, 12:43pm UTC](https://discuss.elastic.co/t/no-service-found-in-apm-data/326325 "2023-02-23T12:43:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Sam\_1995](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam_1995/32/116263_2.png) [@Sam\_1995](https://discuss.elastic.co/u/Sam_1995)
#### Post date: [February 23, 2023, 12:43pm UTC](https://discuss.elastic.co/t/no-service-found-in-apm-data/326325/1 "2023-02-23T12:43:41Z")

</div>

No Service Found in APM DATA in Kibana even though data is present in apm\* index and could application apm data received in apm-server logs

**Kibana version** :  
7.17.9  
**Elasticsearch version** :  
7.17.9  
**APM Server version** :  
7.17.9  
**APM Agent language and version** :  
JAVA

**Steps to reproduce** :  
1.  
2.  
3.

**Errors in browser console (if relevant)**:

**Provide logs and/or server output (if relevant)**:  
APM Config.yaml given below

apm-server:  
host: "0.0.0.0:8200"  
kibana:  
host: "localhost:5601"  
protocol: "https"  
username: ""  
password: ""  
ssl.verification\_mode: none  
setup.template.name: "apm-server"  
setup.template.pattern: "apm-\*"  
output.elasticsearch:  
hosts: ["localhost:9200"]  
protocol: "https"  
username: ""  
password: ""  
ssl.verification\_mode: none  
enabled: true  
indices:  
- index: "apm-%{[observer.version]}-sourcemap"  
when.contains:  
processor.event: "sourcemap"

```
- index: "apm-%{[observer.version]}-error-%{+yyyy.MM.dd}"
  when.contains:
    processor.event: "error"

- index: "apm-%{[observer.version]}-transaction-%{+yyyy.MM.dd}"
  when.contains:
    processor.event: "transaction"

- index: "apm-%{[observer.version]}-span-%{+yyyy.MM.dd}"
  when.contains:
    processor.event: "span"

- index: "apm-%{[observer.version]}-metric-%{+yyyy.MM.dd}"
  when.contains:
    processor.event: "metric"

- index: "apm-%{[observer.version]}-onboarding-%{+yyyy.MM.dd}"
  when.contains:
    processor.event: "onboarding"

```

ssl.enabled: true  
logging.level: info  
logging.to\_files: true  
logging.files:  
path: /var/log/apm-server  
name: apm-server  
keepfiles: 7  
permissions: 0600

 ![apmdata](https://us1.discourse-cdn.com/elastic/original/3X/c/6/c6f61884aca20eb2fd03d61760d4a99aba6b8682.png)  
 ![apmindex](https://us1.discourse-cdn.com/elastic/original/3X/d/e/defbb74bfaa87479c7d65dce61a6705dfed40b90.png)

 ![apmlogs](https://us1.discourse-cdn.com/elastic/original/3X/7/5/7582b0ed1301e98bd236f842cac425a5c8d9c1da.png)

Let me know if anything else is required

---

<div class="post-metadata">

### Author: ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)
#### Post date: [February 28, 2023, 10:04am UTC](https://discuss.elastic.co/t/no-service-found-in-apm-data/326325/2 "2023-02-28T10:04:28Z")

</div>

Hi @Sam_1995 ,

The Java APM agent seems to properly able to communicate with APM Server, and the documents are written to Elasticsearch, which means it does not look like a communication issue, either between APM agent and APM server or between APM server and Elasticsearch.

The Java APM agent sends some JVM metrics whenever it is started, so even if there is no activity on the application you should see a service and some JVM metrics in the UI within a few minutes of starting the application.

I am not very familiar with all the apm-server configuration options, but it seems plausible to be the issue here. From what I know starting with a very minimal apm-server configuration like this could help:

```auto
apm-server:
  host: "localhost:8200"

output.elasticsearch:
  hosts: ["localhost:9200"]
  protocol: "https"
  username: ''
  password: ''

```

---

<div class="post-metadata">

### Author: ![Sam\_1995](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam_1995/32/116263_2.png) [@Sam\_1995](https://discuss.elastic.co/u/Sam_1995)
#### Post date: [March 9, 2023, 6:52am UTC](https://discuss.elastic.co/t/no-service-found-in-apm-data/326325/3 "2023-03-09T06:52:16Z")

</div>

Hi @Sylvain_Juge

Tried with minimal configurations as well but still facing this issue.

---

<div class="post-metadata">

### Author: ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)
#### Post date: [March 9, 2023, 4:47pm UTC](https://discuss.elastic.co/t/no-service-found-in-apm-data/326325/4 "2023-03-09T16:47:41Z")

</div>

Hi !

Can you search for sample documents that have `service.name` in discover ?

I really don't know what could be the issue here, I am really not an expert with APM server or UI, which explains why I'd like to check the data first before trying to find someone who can help here.

---

<div class="post-metadata">

### Author: ![Sam\_1995](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam_1995/32/116263_2.png) [@Sam\_1995](https://discuss.elastic.co/u/Sam_1995)
#### Post date: [March 10, 2023, 5:52am UTC](https://discuss.elastic.co/t/no-service-found-in-apm-data/326325/5 "2023-03-10T05:52:59Z")

</div>

Hi

In discover for apm index below is the screenshot of documents having service.name

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3c700d90bf33c0ac1cc0b63147a48f44e128156b.png)

---

<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: [March 31, 2023, 1:53am UTC](https://discuss.elastic.co/t/no-service-found-in-apm-data/326325/6 "2023-03-31T01:53:24Z")

</div>

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