# Elastic Observability

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

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

**Page:** 118

---

## [Failed to connect to backoff(elasticsearch(http://es01:9200)): Connection marked as failed because the onConnect callback failed: resource 'apm-7.5.2-error' exists, but it is not an alias](https://discuss.elastic.co/t/failed-to-connect-to-backoff-elasticsearch-http-es01-9200-connection-marked-as-failed-because-the-onconnect-callback-failed-resource-apm-7-5-2-error-exists-but-it-is-not-an-alias/236088)

<div class="topic-metadata">

**Author:** [@mac\_71128](https://discuss.elastic.co/u/mac_71128)\
**Replies:** 4\
**Last updated:** [June 9, 2020, 5:16pm UTC](https://discuss.elastic.co/t/failed-to-connect-to-backoff-elasticsearch-http-es01-9200-connection-marked-as-failed-because-the-onconnect-callback-failed-resource-apm-7-5-2-error-exists-but-it-is-not-an-alias/236088 "2020-06-09T17:16:24Z")

</div>

Kibana version: 7.5.2 Elasticsearch version: 7.5.2 APM Server version: 7.5.2 APM Agent language and version: python elastic-apm 5.5.2 elasticsearch 7.5.1 I have two server machines. One of them is for elastic a…

---

## [Should there be several Kibana apm-\* index patterns in Kibana?](https://discuss.elastic.co/t/should-there-be-several-kibana-apm-index-patterns-in-kibana/236366)

<div class="topic-metadata">

**Author:** [@A\_B](https://discuss.elastic.co/u/A_B)\
**Replies:** 1\
**Last updated:** [June 9, 2020, 5:14pm UTC](https://discuss.elastic.co/t/should-there-be-several-kibana-apm-index-patterns-in-kibana/236366 "2020-06-09T17:14:13Z")

</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.7.…

---

## [/home is not instrumented since component property is not provided](https://discuss.elastic.co/t/home-is-not-instrumented-since-component-property-is-not-provided/234768)

<div class="topic-metadata">

**Author:** [@alexandreservian](https://discuss.elastic.co/u/alexandreservian)\
**Replies:** 2\
**Last updated:** [June 9, 2020, 1:42pm UTC](https://discuss.elastic.co/t/home-is-not-instrumented-since-component-property-is-not-provided/234768 "2020-06-09T13:42:33Z")

</div>

Kibana version: 7.6.2 Elasticsearch version: APM Server version: APM Agent language and version: elastic/apm-rum@5.2.0 Browser version: google chrome 83.0.4103.61 Original install method (e.g. download page, yum, de…

---

## [Why is the stack exception captured by the apm agent different from the format in the log](https://discuss.elastic.co/t/why-is-the-stack-exception-captured-by-the-apm-agent-different-from-the-format-in-the-log/231662)

<div class="topic-metadata">

**Author:** [@wajika](https://discuss.elastic.co/u/wajika)\
**Replies:** 11\
**Last updated:** [June 9, 2020, 6:21am UTC](https://discuss.elastic.co/t/why-is-the-stack-exception-captured-by-the-apm-agent-different-from-the-format-in-the-log/231662 "2020-06-09T06:21:36Z")

</div>

log file format apm Span stack details I can't understand the stack information provided by apm.

---

## [Issues with Ruby elastic-apm gem when used with Grape](https://discuss.elastic.co/t/issues-with-ruby-elastic-apm-gem-when-used-with-grape/235881)

<div class="topic-metadata">

**Author:** [@alilland](https://discuss.elastic.co/u/alilland)\
**Replies:** 1\
**Last updated:** [June 8, 2020, 11:16am UTC](https://discuss.elastic.co/t/issues-with-ruby-elastic-apm-gem-when-used-with-grape/235881 "2020-06-08T11:16:51Z")

</div>

Im getting an error message NameError: uninitialized constant ElasticAPM::Grape it looks like there is a check for if constants exist, so the below should not have reported nil according to line 46 on this file https://…

---

## [APM Labels: best practices](https://discuss.elastic.co/t/apm-labels-best-practices/234924)

<div class="topic-metadata">

**Author:** [@Emanuel\_Velzi](https://discuss.elastic.co/u/Emanuel_Velzi)\
**Replies:** 3\
**Last updated:** [June 8, 2020, 8:31am UTC](https://discuss.elastic.co/t/apm-labels-best-practices/234924 "2020-06-08T08:31:14Z")

</div>

Hi! I'm using Elastic Stack for Application Performance Management (APM). Many applications will send metrics and transactions to a centralised solution of APM. I have some doubts about custom "labels", which is a dyn…

---

## [Parse logfiles (haproxy/nginx/apache) and send to APM \[continued\]](https://discuss.elastic.co/t/parse-logfiles-haproxy-nginx-apache-and-send-to-apm-continued/235931)

<div class="topic-metadata">

**Author:** [@wosc](https://discuss.elastic.co/u/wosc)\
**Replies:** 2\
**Last updated:** [June 8, 2020, 6:43am UTC](https://discuss.elastic.co/t/parse-logfiles-haproxy-nginx-apache-and-send-to-apm-continued/235931 "2020-06-08T06:43:05Z")

</div>

\[This continues the topic https://discuss.elastic.co/t/parse-logfiles-haproxy-nginx-apache-and-send-to-apm/232418 which unfortunately does not allow me to reply anymore.\] Hi @axw, thanks again for your pointers! I fina…

---

## [Filtering certain SQL queries OR hiding parameters](https://discuss.elastic.co/t/filtering-certain-sql-queries-or-hiding-parameters/235532)

<div class="topic-metadata">

**Author:** [@ofirz](https://discuss.elastic.co/u/ofirz)\
**Replies:** 1\
**Last updated:** [June 8, 2020, 2:59am UTC](https://discuss.elastic.co/t/filtering-certain-sql-queries-or-hiding-parameters/235532 "2020-06-08T02:59:41Z")

</div>

Hey everyone, I'm using APM to track my services in Production. Some of these services handle sensitive data that I do not want to show in APM/Elastic. These queries are performed on a seperate DB. Is it possible for me…

---

## [APM Agent not sending traces on AWS Lambda](https://discuss.elastic.co/t/apm-agent-not-sending-traces-on-aws-lambda/236053)

<div class="topic-metadata">

**Author:** [@thiago.dantas](https://discuss.elastic.co/u/thiago.dantas)\
**Replies:** 2\
**Last updated:** [June 6, 2020, 7:30pm UTC](https://discuss.elastic.co/t/apm-agent-not-sending-traces-on-aws-lambda/236053 "2020-06-06T19:30:15Z")

</div>

Kibana version: elastic cloud 7.3.2 APM Agent language and version: dotnet 1.5.1 Original install method (e.g. download page, yum, deb, from source, etc.) and version: nuget package Description of the problem includ…

---

## [APM Avg. page load duration distribution by country](https://discuss.elastic.co/t/apm-avg-page-load-duration-distribution-by-country/235928)

<div class="topic-metadata">

**Author:** [@moixcruz](https://discuss.elastic.co/u/moixcruz)\
**Replies:** 2\
**Last updated:** [June 6, 2020, 8:43am UTC](https://discuss.elastic.co/t/apm-avg-page-load-duration-distribution-by-country/235928 "2020-06-06T08:43:51Z")

</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.5.…

---

## [APM agent an Typescript](https://discuss.elastic.co/t/apm-agent-an-typescript/235952)

<div class="topic-metadata">

**Author:** [@ffknob](https://discuss.elastic.co/u/ffknob)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 1:04pm UTC](https://discuss.elastic.co/t/apm-agent-an-typescript/235952 "2020-06-05T13:04:40Z")

</div>

Hello. I'm trying to use APM in a Node+Express+Typescript backend. I followed this: https://www.elastic.co/guide/en/apm/agent/nodejs/current/es-modules.html So now I have this on my tsconfig.json: "esModuleInterop": …

---

## [One service for both RUM and Server APM?](https://discuss.elastic.co/t/one-service-for-both-rum-and-server-apm/235551)

<div class="topic-metadata">

**Author:** [@Stefan\_Buck](https://discuss.elastic.co/u/Stefan_Buck)\
**Replies:** 1\
**Last updated:** [June 5, 2020, 4:04pm UTC](https://discuss.elastic.co/t/one-service-for-both-rum-and-server-apm/235551 "2020-06-05T16:04:20Z")

</div>

I want to add APM to the server and client side and I wonder whether or not it's recommended to use the same Elastic APM services for both sides? Thanks

---

## [.Net Agent Instrumentation for IIS hosted app](https://discuss.elastic.co/t/net-agent-instrumentation-for-iis-hosted-app/233784)

<div class="topic-metadata">

**Author:** [@joychatterjee05](https://discuss.elastic.co/u/joychatterjee05)\
**Replies:** 11\
**Last updated:** [June 5, 2020, 11:09am UTC](https://discuss.elastic.co/t/net-agent-instrumentation-for-iis-hosted-app/233784 "2020-06-05T11:09:58Z")

</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.7 …

---

## [APM agent not showing transaction logs on Jboss Fuse Pods deployed in Openshift](https://discuss.elastic.co/t/apm-agent-not-showing-transaction-logs-on-jboss-fuse-pods-deployed-in-openshift/235744)

<div class="topic-metadata">

**Author:** [@khgupta3](https://discuss.elastic.co/u/khgupta3)\
**Replies:** 2\
**Last updated:** [June 5, 2020, 11:06am UTC](https://discuss.elastic.co/t/apm-agent-not-showing-transaction-logs-on-jboss-fuse-pods-deployed-in-openshift/235744 "2020-06-05T11:06:33Z")

</div>

I have installed APM Java agent "elastic-apm-agent-1.15.0.jar " on the VM where my pod is running. The APM Server configuration is running fine with Jboss EAP application but when we are using Jboss Fuse application onl…

---

## [Is it possible to disable rotation of file completely?](https://discuss.elastic.co/t/is-it-possible-to-disable-rotation-of-file-completely/235813)

<div class="topic-metadata">

**Author:** [@elastick](https://discuss.elastic.co/u/elastick)\
**Replies:** 3\
**Last updated:** [June 5, 2020, 6:30am UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-rotation-of-file-completely/235813 "2020-06-05T06:30:46Z")

</div>

We have observed that the APM-Server (v7.7) rotates the target file configured for file output at every restart of the server, even if the size limit has not been reached? Is this the intended behaviour and is this docum…

---

## [How to add ENVIRONMENT name in APM UI](https://discuss.elastic.co/t/how-to-add-environment-name-in-apm-ui/235737)

<div class="topic-metadata">

**Author:** [@Pankaj\_Navneet](https://discuss.elastic.co/u/Pankaj_Navneet)\
**Replies:** 3\
**Last updated:** [June 4, 2020, 12:39pm UTC](https://discuss.elastic.co/t/how-to-add-environment-name-in-apm-ui/235737 "2020-06-04T12:39:58Z")

</div>

Hi team, I have setup apm-server and apm agents for my java based applications. I have used this https://www.elastic.co/guide/en/apm/agent/java/current/setup-attach-cli.html method to setup the agent (apm-agent-attach-…

---

## [Is it possible to use the metadata processors for an apm server same as in the filebeat config](https://discuss.elastic.co/t/is-it-possible-to-use-the-metadata-processors-for-an-apm-server-same-as-in-the-filebeat-config/233863)

<div class="topic-metadata">

**Author:** [@elk51211](https://discuss.elastic.co/u/elk51211)\
**Replies:** 4\
**Last updated:** [June 4, 2020, 10:54am UTC](https://discuss.elastic.co/t/is-it-possible-to-use-the-metadata-processors-for-an-apm-server-same-as-in-the-filebeat-config/233863 "2020-06-04T10:54:11Z")

</div>

Is it possible to create indices for my apm agent like this using the processors add metadata option? And if its possible where do I adjust the settings? Have not found any example of a kubernetes yaml in the apm github …

---

## [APM Sercurity Index priviliges error when starting](https://discuss.elastic.co/t/apm-sercurity-index-priviliges-error-when-starting/234579)

<div class="topic-metadata">

**Author:** [@bmclellan](https://discuss.elastic.co/u/bmclellan)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 10:34am UTC](https://discuss.elastic.co/t/apm-sercurity-index-priviliges-error-when-starting/234579 "2020-06-04T10:34:24Z")

</div>

Hello, I am getting a security index privilege error when attempting to start APM in Kibana. I do not have any security enabled. Kibana version: 7.7 Elasticsearch version: 7.7 APM Server version: 7.7 APM Agent la…

---

## [Configuring APM server with env variables in docker-compose](https://discuss.elastic.co/t/configuring-apm-server-with-env-variables-in-docker-compose/235558)

<div class="topic-metadata">

**Author:** [@ffknob](https://discuss.elastic.co/u/ffknob)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 7:39am UTC](https://discuss.elastic.co/t/configuring-apm-server-with-env-variables-in-docker-compose/235558 "2020-06-04T07:39:42Z")

</div>

Hello. I'm trying to configure an APM server as a service in a docker-compose file. I'm doing this by setting some environment variables. This works for Elasticsearch and Kibana (although very differently, for Elasticse…

---

## [APM showing "Not yet applied by any agents"](https://discuss.elastic.co/t/apm-showing-not-yet-applied-by-any-agents/235565)

<div class="topic-metadata">

**Author:** [@binschlag](https://discuss.elastic.co/u/binschlag)\
**Replies:** 3\
**Last updated:** [June 4, 2020, 6:13am UTC](https://discuss.elastic.co/t/apm-showing-not-yet-applied-by-any-agents/235565 "2020-06-04T06:13:02Z")

</div>

Kibana version: 7.7 Elasticsearch version: 7.7 APM Server version: 7.7 APM Agent language and version: Java Agent 1.15 (elastic-apm-agent-1.15.0.jar) Browser version: Google Chrome Original install method (e.g. down…

---

## [Strange: apm generated some SQL query statements that are too long](https://discuss.elastic.co/t/strange-apm-generated-some-sql-query-statements-that-are-too-long/234461)

<div class="topic-metadata">

**Author:** [@wajika](https://discuss.elastic.co/u/wajika)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 12:53am UTC](https://discuss.elastic.co/t/strange-apm-generated-some-sql-query-statements-that-are-too-long/234461 "2020-06-04T00:53:13Z")

</div>

service version: .net core 2.1 code: https://paste.ubuntu.com/p/NtMRvpRfwP/ SQL: Why is there such a long SQL statement?

---

## [No SQL/EF information](https://discuss.elastic.co/t/no-sql-ef-information/234749)

<div class="topic-metadata">

**Author:** [@poserdonut](https://discuss.elastic.co/u/poserdonut)\
**Replies:** 2\
**Last updated:** [June 3, 2020, 9:26pm UTC](https://discuss.elastic.co/t/no-sql-ef-information/234749 "2020-06-03T21:26:22Z")

</div>

APM Agent language and version: C#, 1.5.1 Hi! I'm trying to setup APM logging in a .NET Framework 4.8 application. I'm getting some logging however the SQL and/or EF instrumentation doesn't seem to work. I have adde…

---

## [Is ForkJoinPool tracable?](https://discuss.elastic.co/t/is-forkjoinpool-tracable/222599)

<div class="topic-metadata">

**Author:** [@no\_jihun](https://discuss.elastic.co/u/no_jihun)\
**Replies:** 2\
**Last updated:** [June 3, 2020, 10:34am UTC](https://discuss.elastic.co/t/is-forkjoinpool-tracable/222599 "2020-06-03T10:34:00Z")

</div>

With this like code, I couldn't see details inside callable. code public class ApmTest { static ForkJoinPool fjp = new ForkJoinPool(); static ExecutorService pool = Executors.newFixedThreadPool(10); public…

---

## [APM, Jaeger and trace.id](https://discuss.elastic.co/t/apm-jaeger-and-trace-id/234978)

<div class="topic-metadata">

**Author:** [@tstadler](https://discuss.elastic.co/u/tstadler)\
**Replies:** 3\
**Last updated:** [June 3, 2020, 12:50am UTC](https://discuss.elastic.co/t/apm-jaeger-and-trace-id/234978 "2020-06-03T00:50:35Z")

</div>

Kibana version: 7.7.0 Elasticsearch version: 7.7.0 APM Server version: 7.7.0 I am using the apm-server with jaeger grpc enabled and a jaeger tracer as client and ECS logging in my application. The apm-server stores t…

---

## [ERROR Failed to publish events: temporary bulk send failure](https://discuss.elastic.co/t/error-failed-to-publish-events-temporary-bulk-send-failure/235175)

<div class="topic-metadata">

**Author:** [@afonsoavr](https://discuss.elastic.co/u/afonsoavr)\
**Replies:** 3\
**Last updated:** [June 2, 2020, 6:59pm UTC](https://discuss.elastic.co/t/error-failed-to-publish-events-temporary-bulk-send-failure/235175 "2020-06-02T18:59:32Z")

</div>

I create the my apm server in ECS on AWS. This APM Server is with 256 CPU and 1024 MiB per task with 5 tasks. And eventualy I receive this errors: 2020-05-27T01:38:37.929Z ERROR elasticsearch/client.go:333 Failed to p…

---

## [Java client, add random code to Exception](https://discuss.elastic.co/t/java-client-add-random-code-to-exception/235173)

<div class="topic-metadata">

**Author:** [@Daniele\_Renda](https://discuss.elastic.co/u/Daniele_Renda)\
**Replies:** 3\
**Last updated:** [June 2, 2020, 9:50am UTC](https://discuss.elastic.co/t/java-client-add-random-code-to-exception/235173 "2020-06-02T09:50:59Z")

</div>

I'm using APM Java client in my Spring Boot 2.3 application. At the beginning I used it to trace performance but right now I see the great advantace to intercept exceptions as well. Before of APM I was saving exceptions…

---

## [Getting a internal server error (500) with django app using apm](https://discuss.elastic.co/t/getting-a-internal-server-error-500-with-django-app-using-apm/234660)

<div class="topic-metadata">

**Author:** [@syost](https://discuss.elastic.co/u/syost)\
**Replies:** 1\
**Last updated:** [June 2, 2020, 9:44am UTC](https://discuss.elastic.co/t/getting-a-internal-server-error-500-with-django-app-using-apm/234660 "2020-06-02T09:44:55Z")

</div>

Kibana version: 7.7 Elasticsearch version: 7.7 APM Server version: 7.7 APM Agent language and version: python 3.8 (django application) Browser version: Firefox 68.8 Original install method (e.g. download page, yum, …

---

## [Any downside to overwrite: true?](https://discuss.elastic.co/t/any-downside-to-overwrite-true/235234)

<div class="topic-metadata">

**Author:** [@thenewguy](https://discuss.elastic.co/u/thenewguy)\
**Replies:** 1\
**Last updated:** [June 2, 2020, 9:33am UTC](https://discuss.elastic.co/t/any-downside-to-overwrite-true/235234 "2020-06-02T09:33:03Z")

</div>

I am getting started with APM for the first time. I am running an APM server container with my application containers. They push data through logstash to S3 and do not have a direct connection to elasticsearch. I am r…

---

## [APM, Jaeger and follows\_from](https://discuss.elastic.co/t/apm-jaeger-and-follows-from/234974)

<div class="topic-metadata">

**Author:** [@tstadler](https://discuss.elastic.co/u/tstadler)\
**Replies:** 1\
**Last updated:** [June 2, 2020, 8:40am UTC](https://discuss.elastic.co/t/apm-jaeger-and-follows-from/234974 "2020-06-02T08:40:53Z")

</div>

Kibana version: 7.7.0 Elasticsearch version: 7.7.0 APM Server version: 7.7.0 I am using the apm-server with jaeger grpc enabled and a jaeger tracer as client. Does the apm server support span that have follows from as…

---

## [Add custom serchable fields in logs](https://discuss.elastic.co/t/add-custom-serchable-fields-in-logs/234000)

<div class="topic-metadata">

**Author:** [@Daniele\_Renda](https://discuss.elastic.co/u/Daniele_Renda)\
**Replies:** 5\
**Last updated:** [June 1, 2020, 3:21pm UTC](https://discuss.elastic.co/t/add-custom-serchable-fields-in-logs/234000 "2020-06-01T15:21:30Z")

</div>

I'm using Java APM client in my Spring Boot 2.2.7 application. It's a multi-tenant application, so I'd like to set (dynamically) tenant's id to the current transaction. So far I configured the agent like this: …

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

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