# Elastic Observability

**URL:** https://discuss.elastic.co/c/observability/82.md?page=120

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 121

---

## [APM Java Agent max\_queue\_size](https://discuss.elastic.co/t/apm-java-agent-max-queue-size/231763)

<div class="topic-metadata">

**Author:** [@Adam\_Fink](https://discuss.elastic.co/u/Adam_Fink)\
**Replies:** 2\
**Last updated:** [May 8, 2020, 3:53pm UTC](https://discuss.elastic.co/t/apm-java-agent-max-queue-size/231763 "2020-05-08T15:53:28Z")

</div>

Hi team, Documentation question here. For max\_queue\_size the documentation says "The maximum size of buffered events" and the default is 512. Is that 512 events or does it refer to the memory size of the queue? And if…

---

## [APM large number of spans](https://discuss.elastic.co/t/apm-large-number-of-spans/230413)

<div class="topic-metadata">

**Author:** [@Adam\_Fink](https://discuss.elastic.co/u/Adam_Fink)\
**Replies:** 2\
**Last updated:** [May 8, 2020, 3:35pm UTC](https://discuss.elastic.co/t/apm-large-number-of-spans/230413 "2020-05-08T15:35:10Z")

</div>

We are currently setting up APM and have questions about transactions with a large number of spans. For the APM Java Agent how does the transaction\_max\_span setting work across multiple services? If a transaction crosse…

---

## [Service map](https://discuss.elastic.co/t/service-map/231646)

<div class="topic-metadata">

**Author:** [@mrtypn](https://discuss.elastic.co/u/mrtypn)\
**Replies:** 0\
**Last updated:** [May 8, 2020, 1:51am UTC](https://discuss.elastic.co/t/service-map/231646 "2020-05-08T01:51:32Z")

</div>

One of the critical feature we are looking is the "Service Map" , i enable it in Kibana and i can see all the services , but there is no connection between them. In the waterfall , i can see the transaction from 2 servic…

---

## [No db statement shown for mongodb?](https://discuss.elastic.co/t/no-db-statement-shown-for-mongodb/231482)

<div class="topic-metadata">

**Author:** [@elk51211](https://discuss.elastic.co/u/elk51211)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 9:15am UTC](https://discuss.elastic.co/t/no-db-statement-shown-for-mongodb/231482 "2020-05-07T09:15:30Z")

</div>

I've followed a blogpost on setting up the apm app. There I could see the database queries of the traces with the sql statement Then I tried it by myself with a spring application and a mongodb. It seems like there i…

---

## [APM http context transferred to gRPC context](https://discuss.elastic.co/t/apm-http-context-transferred-to-grpc-context/231421)

<div class="topic-metadata">

**Author:** [@Evan\_Something](https://discuss.elastic.co/u/Evan_Something)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 1:50am UTC](https://discuss.elastic.co/t/apm-http-context-transferred-to-grpc-context/231421 "2020-05-07T01:50:07Z")

</div>

Kibana version: 7.5.1 Elasticsearch version: 7.5.1 APM Server version: 7.5.1 APM Agent language and version: any Is there anything special in your setup? Working empty Elastic cluster in kubernetes/containers. I…

---

## [Use APM in a Windows Service (non .net core)](https://discuss.elastic.co/t/use-apm-in-a-windows-service-non-net-core/225985)

<div class="topic-metadata">

**Author:** [@frutty](https://discuss.elastic.co/u/frutty)\
**Replies:** 16\
**Last updated:** [May 6, 2020, 12:41am UTC](https://discuss.elastic.co/t/use-apm-in-a-windows-service-non-net-core/225985 "2020-05-06T00:41:34Z")

</div>

Hey, I've been trying to find an answer to this in the forum but I'm not able to find anything relevant. I want to be able to create transaction for different methods in our code. Filtering data/db transactions etc... …

---

## [Elastic APM startup](https://discuss.elastic.co/t/elastic-apm-startup/231189)

<div class="topic-metadata">

**Author:** [@giorgiogale](https://discuss.elastic.co/u/giorgiogale)\
**Replies:** 0\
**Last updated:** [May 5, 2020, 4:16pm UTC](https://discuss.elastic.co/t/elastic-apm-startup/231189 "2020-05-05T16:16:45Z")

</div>

Hi, I'm starting to work with APM and I'd like to start monitoring some ws exposed on the glassfish server. can anyone give me any indication or guideline to get started? thanks. As a type of client I would like to use r…

---

## [Viewing Metrics -- 500 Internal Server Error](https://discuss.elastic.co/t/viewing-metrics-500-internal-server-error/225501)

<div class="topic-metadata">

**Author:** [@eugeneswalker](https://discuss.elastic.co/u/eugeneswalker)\
**Replies:** 4\
**Last updated:** [May 5, 2020, 12:44pm UTC](https://discuss.elastic.co/t/viewing-metrics-500-internal-server-error/225501 "2020-05-05T12:44:27Z")

</div>

I'm using ELK 7.6.1, all running on the same physical node as docker containers, launched via a docker-compose file. The only shipper setup so far is Filebeat for sending system logs. I can view these in Kibana. The prob…

---

## [APM - Custom Dashboard or Inegration with other Dashboards](https://discuss.elastic.co/t/apm-custom-dashboard-or-inegration-with-other-dashboards/230942)

<div class="topic-metadata">

**Author:** [@Darisetty\_Suneel](https://discuss.elastic.co/u/Darisetty_Suneel)\
**Replies:** 2\
**Last updated:** [May 4, 2020, 5:00pm UTC](https://discuss.elastic.co/t/apm-custom-dashboard-or-inegration-with-other-dashboards/230942 "2020-05-04T17:00:36Z")

</div>

Dear All, I would like to integrate visualizations present in the default APM dashboard, is it possible to create custom dashboards from APM data? If so how to do it? Thanks & Regards, Suneel Darisetty

---

## [Status of Linux services](https://discuss.elastic.co/t/status-of-linux-services/230546)

<div class="topic-metadata">

**Author:** [@Deny7](https://discuss.elastic.co/u/Deny7)\
**Replies:** 2\
**Last updated:** [May 4, 2020, 3:39pm UTC](https://discuss.elastic.co/t/status-of-linux-services/230546 "2020-05-04T15:39:05Z")

</div>

Hello, I'm using metricbeat on linux and I want to visualize in kibana some service status like: Tomcat --- running etc. I can see there is default visualization for windows services. Can I do that for Linux services?

---

## [Cannot run APM Server with fresh installation on Windows 10](https://discuss.elastic.co/t/cannot-run-apm-server-with-fresh-installation-on-windows-10/228081)

<div class="topic-metadata">

**Author:** [@oneoneonepig](https://discuss.elastic.co/u/oneoneonepig)\
**Replies:** 2\
**Last updated:** [May 3, 2020, 1:23pm UTC](https://discuss.elastic.co/t/cannot-run-apm-server-with-fresh-installation-on-windows-10/228081 "2020-05-03T13:23:23Z")

</div>

All configuration is left by default. Port 8200 is not occupied. Elasticsearch is at localhost:9200 without security configured. PS C:\\apm-server-7.6.2-windows-x86\> .\\apm-server.bat setup PS C:\\apm-server-7.6.2-window…

---

## [How do I send a custom metric from within my code?](https://discuss.elastic.co/t/how-do-i-send-a-custom-metric-from-within-my-code/230689)

<div class="topic-metadata">

**Author:** [@michielvoo](https://discuss.elastic.co/u/michielvoo)\
**Replies:** 4\
**Last updated:** [May 1, 2020, 3:56pm UTC](https://discuss.elastic.co/t/how-do-i-send-a-custom-metric-from-within-my-code/230689 "2020-05-01T15:56:11Z")

</div>

I am in the process of understanding the Elastic product suite, and I don't fully understand 'Metrics'. I know I can send structured log events to Elasticsearch, and I can search and filter on specific fields that I adde…

---

## [Api key name as additional field in apm-server data](https://discuss.elastic.co/t/api-key-name-as-additional-field-in-apm-server-data/230566)

<div class="topic-metadata">

**Author:** [@iorfix](https://discuss.elastic.co/u/iorfix)\
**Replies:** 2\
**Last updated:** [May 1, 2020, 7:17am UTC](https://discuss.elastic.co/t/api-key-name-as-additional-field-in-apm-server-data/230566 "2020-05-01T07:17:36Z")

</div>

Hi there, I created a couple of API-key on apmserver and tested it with a GO client. I have 2 comments: I used the Credentials field and not the API Key field. This is not a problem, but it is not clear in the documen…

---

## [Edit feilds.yml in apm server to get country details](https://discuss.elastic.co/t/edit-feilds-yml-in-apm-server-to-get-country-details/229705)

<div class="topic-metadata">

**Author:** [@anjana1](https://discuss.elastic.co/u/anjana1)\
**Replies:** 11\
**Last updated:** [April 30, 2020, 11:42am UTC](https://discuss.elastic.co/t/edit-feilds-yml-in-apm-server-to-get-country-details/229705 "2020-04-30T11:42:28Z")

</div>

Kibana version : 7.6 Elasticsearch version : 7.6 APM Server version : 7.3.2 APM Agent language and version : java 1.9.0 Fresh install or upgraded from other version? fresh install Is there anything special in your s…

---

## [Get the sql of a preparedstatement in span details](https://discuss.elastic.co/t/get-the-sql-of-a-preparedstatement-in-span-details/230483)

<div class="topic-metadata">

**Author:** [@yangfeng](https://discuss.elastic.co/u/yangfeng)\
**Replies:** 2\
**Last updated:** [April 30, 2020, 8:28am UTC](https://discuss.elastic.co/t/get-the-sql-of-a-preparedstatement-in-span-details/230483 "2020-04-30T08:28:15Z")

</div>

\*\*Kibana version \*\*:7.6 \*\*Elasticsearch version \*\*:7.6 APM Server version:7.6 \*\*APM Agent language and version \*\*: go 1.7.2 how can I get the real sql query in span detail my code : db, err := apmsql.Open("mysql", …

---

## [Manage CA certificate in GO and Java APM Agents](https://discuss.elastic.co/t/manage-ca-certificate-in-go-and-java-apm-agents/230394)

<div class="topic-metadata">

**Author:** [@iorfix](https://discuss.elastic.co/u/iorfix)\
**Replies:** 2\
**Last updated:** [April 30, 2020, 2:16am UTC](https://discuss.elastic.co/t/manage-ca-certificate-in-go-and-java-apm-agents/230394 "2020-04-30T02:16:04Z")

</div>

Hi there, I'm using APM-Server and APM-Agents clients in go and Java. I'm moving to use https, but I'm using a private CA to issue server certificates (it is the same CA used for logstash, elastic and beat client authe…

---

## [Limit indexed fields](https://discuss.elastic.co/t/limit-indexed-fields/230241)

<div class="topic-metadata">

**Author:** [@Emanuel\_Velzi](https://discuss.elastic.co/u/Emanuel_Velzi)\
**Replies:** 6\
**Last updated:** [April 29, 2020, 5:38pm UTC](https://discuss.elastic.co/t/limit-indexed-fields/230241 "2020-04-29T17:38:23Z")

</div>

Hi! Using Elastic Stack for Application Performance Management (APM) I want to index only certain fields. For example, I do not need all fields related to "observer": observer.ephemeral\_id observer.hostname observer.i…

---

## [Java Agent grpc not working](https://discuss.elastic.co/t/java-agent-grpc-not-working/226795)

<div class="topic-metadata">

**Author:** [@Gjermund\_Bjaanes](https://discuss.elastic.co/u/Gjermund_Bjaanes)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 4:25pm UTC](https://discuss.elastic.co/t/java-agent-grpc-not-working/226795 "2020-04-29T16:25:38Z")

</div>

Kibana version: v7.6.2 Elasticsearch version: v7.6.2 APM Server version: v7.6.2 APM Agent language and version: Java version 1.15 Fresh install or upgraded from other version? Fresh. Just started making sense of thin…

---

## [What are the privileges needed to create APM API key?](https://discuss.elastic.co/t/what-are-the-privileges-needed-to-create-apm-api-key/230372)

<div class="topic-metadata">

**Author:** [@ffknob](https://discuss.elastic.co/u/ffknob)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 4:18pm UTC](https://discuss.elastic.co/t/what-are-the-privileges-needed-to-create-apm-api-key/230372 "2020-04-29T16:18:39Z")

</div>

Hi I'm setting an APM server up. Need some help with the API keys configuration... This is what I did so far: Created a role with the privileges listed in the docs. (notice the last one, the apm\_api\_key) POST /\_secu…

---

## [Define apm-server api key in Elastic](https://discuss.elastic.co/t/define-apm-server-api-key-in-elastic/230352)

<div class="topic-metadata">

**Author:** [@iorfix](https://discuss.elastic.co/u/iorfix)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 12:11pm UTC](https://discuss.elastic.co/t/define-apm-server-api-key-in-elastic/230352 "2020-04-29T12:11:44Z")

</div>

Hi there, I read documentation about APM api key management. If I undestood correctly, it is possible to create (and store) keys in Elastic, and to propagate them to all APM nodes in the cluster. This should be very use…

---

## [Elastic apm cannot collect GRPC requests](https://discuss.elastic.co/t/elastic-apm-cannot-collect-grpc-requests/230086)

<div class="topic-metadata">

**Author:** [@topstargogo](https://discuss.elastic.co/u/topstargogo)\
**Replies:** 15\
**Last updated:** [April 29, 2020, 10:31am UTC](https://discuss.elastic.co/t/elastic-apm-cannot-collect-grpc-requests/230086 "2020-04-29T10:31:21Z")

</div>

Kibana version: v7.6.1 Elasticsearch version: v7.6.1 APM Server version:v7.6.1 APM Agent language and version: Java version 1.15 Browser version:chrome Original install method (e.g. download page, yum, deb, from so…

---

## [Can the APM Kibana objects be loaded with API call?](https://discuss.elastic.co/t/can-the-apm-kibana-objects-be-loaded-with-api-call/230208)

<div class="topic-metadata">

**Author:** [@cotjoey](https://discuss.elastic.co/u/cotjoey)\
**Replies:** 3\
**Last updated:** [April 28, 2020, 9:12pm UTC](https://discuss.elastic.co/t/can-the-apm-kibana-objects-be-loaded-with-api-call/230208 "2020-04-28T21:12:28Z")

</div>

I am using Kibana 7.6.0, Logstash 7.6.0 & APM version 7.6.0 and would like to automate the "Load Kibana Objects" functionality that I can find in the Kibana UI at \[Home\] \> \[Add data\] \> APM \> "Load Kibana Objects". I was …

---

## [APM server ILM indices not getting any documents - only apm-%{version}](https://discuss.elastic.co/t/apm-server-ilm-indices-not-getting-any-documents-only-apm-version/230196)

<div class="topic-metadata">

**Author:** [@cotjoey](https://discuss.elastic.co/u/cotjoey)\
**Replies:** 3\
**Last updated:** [April 28, 2020, 3:38pm UTC](https://discuss.elastic.co/t/apm-server-ilm-indices-not-getting-any-documents-only-apm-version/230196 "2020-04-28T15:38:08Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text :slight\_smile: Kibana version: 7.6.…

---

## [Http: TLS handshake error from x.x.x.x:xxxx EOF](https://discuss.elastic.co/t/http-tls-handshake-error-from-x-x-x-x-xxxx-eof/229414)

<div class="topic-metadata">

**Author:** [@Robert\_Bridgeman](https://discuss.elastic.co/u/Robert_Bridgeman)\
**Replies:** 9\
**Last updated:** [April 27, 2020, 4:59pm UTC](https://discuss.elastic.co/t/http-tls-handshake-error-from-x-x-x-x-xxxx-eof/229414 "2020-04-27T16:59:54Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text :slight\_smile: Kibana version: 7.6.…

---

## [SMTP logs from Windows Server can't be parsed](https://discuss.elastic.co/t/smtp-logs-from-windows-server-cant-be-parsed/229916)

<div class="topic-metadata">

**Author:** [@Vadym\_Mykolaichuk](https://discuss.elastic.co/u/Vadym_Mykolaichuk)\
**Replies:** 3\
**Last updated:** [April 27, 2020, 3:39pm UTC](https://discuss.elastic.co/t/smtp-logs-from-windows-server-cant-be-parsed/229916 "2020-04-27T15:39:20Z")

</div>

Hi! I'm using filebeat to send IIS log files from Windows Server machine. It parses logs from IIS (web logs) just fine, but it can't parse SMTP logs which have the same format. On Kibana I see this error: Provided Gro…

---

## [Parsing the filebeat logs](https://discuss.elastic.co/t/parsing-the-filebeat-logs/229876)

<div class="topic-metadata">

**Author:** [@priyanka\_j](https://discuss.elastic.co/u/priyanka_j)\
**Replies:** 1\
**Last updated:** [April 27, 2020, 4:16am UTC](https://discuss.elastic.co/t/parsing-the-filebeat-logs/229876 "2020-04-27T04:16:13Z")

</div>

Hi , I am using the filebeat to ship all my logs to the kibana using elasticsearch.I want to parse the log and create some fields from the logs .How can i do that. Thanks

---

## [How to adjust apm client .setLabel() index field type to "geo\_point"](https://discuss.elastic.co/t/how-to-adjust-apm-client-setlabel-index-field-type-to-geo-point/226994)

<div class="topic-metadata">

**Author:** [@rgroleau](https://discuss.elastic.co/u/rgroleau)\
**Replies:** 12\
**Last updated:** [April 27, 2020, 3:41am UTC](https://discuss.elastic.co/t/how-to-adjust-apm-client-setlabel-index-field-type-to-geo-point/226994 "2020-04-27T03:41:21Z")

</div>

I am using the elastic apm client for nodejs to set custom labels when my IoT devices communicate with my IoT API. Here is the function documentation. This API works great, but always sets the label value type to "strin…

---

## [AWS Alarms](https://discuss.elastic.co/t/aws-alarms/227077)

<div class="topic-metadata">

**Author:** [@martian1431](https://discuss.elastic.co/u/martian1431)\
**Replies:** 2\
**Last updated:** [April 25, 2020, 3:40pm UTC](https://discuss.elastic.co/t/aws-alarms/227077 "2020-04-25T15:40:37Z")

</div>

Good day, I established a connection with AWS to retrieve metrics using ELK stack and metricbeat, everything is working as expected I believe. My question is that can I retrieve metrics for Alarms that were triggered on…

---

## [Native methods instrumentation (globally available methods)](https://discuss.elastic.co/t/native-methods-instrumentation-globally-available-methods/229757)

<div class="topic-metadata">

**Author:** [@siddhant94](https://discuss.elastic.co/u/siddhant94)\
**Replies:** 0\
**Last updated:** [April 25, 2020, 11:20am UTC](https://discuss.elastic.co/t/native-methods-instrumentation-globally-available-methods/229757 "2020-04-25T11:20:50Z")

</div>

APM Agent language and version: APM version 1.0.6, language - nodeJS Description of the problem including expected versus actual behavior. Please include screenshots (if relevant): I would like to instrument native ja…

---

## [Mute certain APM errors from watcher](https://discuss.elastic.co/t/mute-certain-apm-errors-from-watcher/229703)

<div class="topic-metadata">

**Author:** [@Matthew\_Petrie](https://discuss.elastic.co/u/Matthew_Petrie)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 5:55pm UTC](https://discuss.elastic.co/t/mute-certain-apm-errors-from-watcher/229703 "2020-04-24T17:55:27Z")

</div>

Kibana version : 7.6.2 Elasticsearch version : 7.6.2 APM Server version :7.6.2 APM Agent language and version : Node.JS 3.5.0 Original install method : Elastic Cloud Is there anything special in your setup? No …

[Previous page](https://discuss.elastic.co/c/observability/82.md?page=119)

[Next page](https://discuss.elastic.co/c/observability/82.md?page=121)
