# Elastic Observability

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

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

**Page:** 93

---

## [Ingest mixed container logs with text and JSON \[filebeat\]\[docker\]](https://discuss.elastic.co/t/ingest-mixed-container-logs-with-text-and-json-filebeat-docker/271139)

<div class="topic-metadata">

**Author:** [@bluepuma77](https://discuss.elastic.co/u/bluepuma77)\
**Replies:** 4\
**Last updated:** [May 12, 2021, 1:22pm UTC](https://discuss.elastic.co/t/ingest-mixed-container-logs-with-text-and-json-filebeat-docker/271139 "2021-05-12T13:22:05Z")

</div>

Hi all, we are currently using plain text logging and import container output with filebeat into elastic and kibana. We would like to migrate to structured logging with JSON. Is a bit-by-bit migration possible, can I h…

---

## [ELASTIC\_APM\_HOSTNAME not working](https://discuss.elastic.co/t/elastic-apm-hostname-not-working/271915)

<div class="topic-metadata">

**Author:** [@shlomys](https://discuss.elastic.co/u/shlomys)\
**Replies:** 3\
**Last updated:** [May 12, 2021, 11:22am UTC](https://discuss.elastic.co/t/elastic-apm-hostname-not-working/271915 "2021-05-12T11:22:06Z")

</div>

Hi, I would like to be able to see the hostname in the APM UI so I set it in the environment variables using the folllowing: Environment.SetEnvironmentVariable("ELASTIC\_APM\_HOSTNAME", "somehostname"); Still, in the AP…

---

## [While creating the elastic synthetic monitoring via docker run unable to view monitoring details in Kibana dashboard](https://discuss.elastic.co/t/while-creating-the-elastic-synthetic-monitoring-via-docker-run-unable-to-view-monitoring-details-in-kibana-dashboard/272417)

<div class="topic-metadata">

**Author:** [@sadik](https://discuss.elastic.co/u/sadik)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 12:19pm UTC](https://discuss.elastic.co/t/while-creating-the-elastic-synthetic-monitoring-via-docker-run-unable-to-view-monitoring-details-in-kibana-dashboard/272417 "2021-05-07T12:19:32Z")

</div>

Errors While creating the elastic synthetic monitoring via docker run unable to view monitoring details in Kibana dashboard. Getting the below errors while run the docker run command. So please help me solve this issues. …

---

## [Induced CPU load by APM nodejs agent if elastic server saturates](https://discuss.elastic.co/t/induced-cpu-load-by-apm-nodejs-agent-if-elastic-server-saturates/272729)

<div class="topic-metadata">

**Author:** [@Javier\_Aracil](https://discuss.elastic.co/u/Javier_Aracil)\
**Replies:** 2\
**Last updated:** [May 11, 2021, 5:53pm UTC](https://discuss.elastic.co/t/induced-cpu-load-by-apm-nodejs-agent-if-elastic-server-saturates/272729 "2021-05-11T17:53:23Z")

</div>

Hi All, We are instrumenting a nodejs backend with Elastic APM agent. At some point, the elastic server cannot cope with the incoming messages from the agent. I wonder what happens in that case. I understand that such i…

---

## [Transaction table breakdown granularity](https://discuss.elastic.co/t/transaction-table-breakdown-granularity/270178)

<div class="topic-metadata">

**Author:** [@Javier\_Aracil](https://discuss.elastic.co/u/Javier_Aracil)\
**Replies:** 8\
**Last updated:** [May 11, 2021, 5:52pm UTC](https://discuss.elastic.co/t/transaction-table-breakdown-granularity/270178 "2021-05-11T17:52:57Z")

</div>

Hello everyone, I am a newbie to Elastic APM, I am currently trying to instrument a great banking application (javascript). In the transaction table I get many URLs of the type POST http: //\<server IP\>/method summariz…

---

## [How the APM agent for Node.js works?](https://discuss.elastic.co/t/how-the-apm-agent-for-node-js-works/272697)

<div class="topic-metadata">

**Author:** [@m-s-santos](https://discuss.elastic.co/u/m-s-santos)\
**Replies:** 1\
**Last updated:** [May 11, 2021, 4:30pm UTC](https://discuss.elastic.co/t/how-the-apm-agent-for-node-js-works/272697 "2021-05-11T16:30:28Z")

</div>

Hello, I'm trying to add APM to a Ruby application running with Eventmachine. However, since the Ruby agent doesn't support Eventmachine, I'm trying to see what I can do to make it work. The problem is that since it wor…

---

## [Automatic instrumentation of function calls](https://discuss.elastic.co/t/automatic-instrumentation-of-function-calls/272707)

<div class="topic-metadata">

**Author:** [@lingwood](https://discuss.elastic.co/u/lingwood)\
**Replies:** 0\
**Last updated:** [May 11, 2021, 2:00pm UTC](https://discuss.elastic.co/t/automatic-instrumentation-of-function-calls/272707 "2021-05-11T14:00:04Z")

</div>

Kibana version: 7.12.1 Elasticsearch version: 7.12.1 APM Server version: 7.12.1 APM Agent language and version: php agent 1.01. Php 7.3.27 Browser version: Edge 90.0.818.56 Original install method (e.g. download pag…

---

## [Anomaly detection / ML Setup](https://discuss.elastic.co/t/anomaly-detection-ml-setup/272378)

<div class="topic-metadata">

**Author:** [@tsp](https://discuss.elastic.co/u/tsp)\
**Replies:** 2\
**Last updated:** [May 11, 2021, 7:14am UTC](https://discuss.elastic.co/t/anomaly-detection-ml-setup/272378 "2021-05-11T07:14:12Z")

</div>

When setting up the ML within the Anomaly detection (Stack 11.1.2) , it says the following: At least one index matching logs-pattern-\* has a field called event.dataset without the correct type. Here is a sample record: …

---

## [Nodejs missing transaction trace](https://discuss.elastic.co/t/nodejs-missing-transaction-trace/272551)

<div class="topic-metadata">

**Author:** [@Max\_Lee](https://discuss.elastic.co/u/Max_Lee)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 7:17pm UTC](https://discuss.elastic.co/t/nodejs-missing-transaction-trace/272551 "2021-05-10T19:17:02Z")

</div>

Kibana version: v7.12.1 Elasticsearch version: v7.12.1 APM Server version: v7.12.1 APM Agent language and version: nodejs : 12 fastify : 2.11.0 mongoose : 5.11.1 elastic-apm-node : 3.14.0 ioredis : 4.14.1 Bro…

---

## [Apollo-server-express with Typescript Unknown route](https://discuss.elastic.co/t/apollo-server-express-with-typescript-unknown-route/272586)

<div class="topic-metadata">

**Author:** [@yulrizka](https://discuss.elastic.co/u/yulrizka)\
**Replies:** 2\
**Last updated:** [May 10, 2021, 5:16pm UTC](https://discuss.elastic.co/t/apollo-server-express-with-typescript-unknown-route/272586 "2021-05-10T17:16:33Z")

</div>

APM Agent language and version: "elastic-apm-node": "^3.14.0", with "apollo-server-express": "^2.0.4", "graphql": "^15.5.0", I managed to get the integration working between the graphql server and APM. But it seems t…

---

## [APM service map behavior is different with opentracing](https://discuss.elastic.co/t/apm-service-map-behavior-is-different-with-opentracing/272129)

<div class="topic-metadata">

**Author:** [@jialipassion](https://discuss.elastic.co/u/jialipassion)\
**Replies:** 3\
**Last updated:** [May 10, 2021, 4:57pm UTC](https://discuss.elastic.co/t/apm-service-map-behavior-is-different-with-opentracing/272129 "2021-05-10T16:57:27Z")

</div>

I am using elastic-apm-node agent to create distributed tracing. Here is my services structures. I have 3 micro services. producer, kafka, consumer The call sequence is producer -\> kafka -\> consumer I am not using a…

---

## [APM architecture and usage](https://discuss.elastic.co/t/apm-architecture-and-usage/272591)

<div class="topic-metadata">

**Author:** [@Waxman](https://discuss.elastic.co/u/Waxman)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 2:51pm UTC](https://discuss.elastic.co/t/apm-architecture-and-usage/272591 "2021-05-10T14:51:16Z")

</div>

Hi there, I wonder how apm's works, AFAIK it's client-server architecture. The question is: a) what is the recomendation for APM server (cpu,memory,storage) b) can i install APM server for example with elastic -node …

---

## [Missing outgoing HTTP Span GO Lang](https://discuss.elastic.co/t/missing-outgoing-http-span-go-lang/272452)

<div class="topic-metadata">

**Author:** [@ianmcgraw](https://discuss.elastic.co/u/ianmcgraw)\
**Replies:** 2\
**Last updated:** [May 10, 2021, 2:48pm UTC](https://discuss.elastic.co/t/missing-outgoing-http-span-go-lang/272452 "2021-05-10T14:48:21Z")

</div>

Kibana version: v 7.9.2 (elastic cloud) Elasticsearch version: v 7.9.2 (elastic cloud) APM Server version: v 7.9.2 (elastic cloud) APM Agent language and version: Golang go.elastic.co/apm/module/apmgorilla v1.1…

---

## [Using ElasticAPM distributed tracing to monitor mysql from PHP library calls](https://discuss.elastic.co/t/using-elasticapm-distributed-tracing-to-monitor-mysql-from-php-library-calls/272557)

<div class="topic-metadata">

**Author:** [@Mark\_Paget](https://discuss.elastic.co/u/Mark_Paget)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 9:13am UTC](https://discuss.elastic.co/t/using-elasticapm-distributed-tracing-to-monitor-mysql-from-php-library-calls/272557 "2021-05-10T09:13:41Z")

</div>

Kibana version: 7.12.1 Elasticsearch version: 7.12.1 APM Server version: 7.12.1 APM Agent language and version:PHP 1.0.1 Browser version: Chrome Version 90.0.4430.93 (Official Build) (x86\_64) Original install method…

---

## [Metricbeat setup for multiple hosts](https://discuss.elastic.co/t/metricbeat-setup-for-multiple-hosts/272345)

<div class="topic-metadata">

**Author:** [@vharabor](https://discuss.elastic.co/u/vharabor)\
**Replies:** 2\
**Last updated:** [May 7, 2021, 4:47pm UTC](https://discuss.elastic.co/t/metricbeat-setup-for-multiple-hosts/272345 "2021-05-07T16:47:24Z")

</div>

I have an Elastic deployment and it was very straightforward to setup metricbeat and get a dashboard for our docker containers. I'm looking to do the same for another Elastic deployment that is shared for two environmen…

---

## [APM agent can't connect to APM](https://discuss.elastic.co/t/apm-agent-cant-connect-to-apm/271697)

<div class="topic-metadata">

**Author:** [@komilll](https://discuss.elastic.co/u/komilll)\
**Replies:** 1\
**Last updated:** [May 7, 2021, 3:38pm UTC](https://discuss.elastic.co/t/apm-agent-cant-connect-to-apm/271697 "2021-05-07T15:38:16Z")

</div>

Kibana version: 7.7.0 Elasticsearch version: 7.7.0 APM Server version: 7.7.0 APM Agent language and version: Java - openjdk:8-jre-alpine Browser version: Firefox 88.0 Original install method (e.g. download page, yum…

---

## [Metricbeat](https://discuss.elastic.co/t/metricbeat/272424)

<div class="topic-metadata">

**Author:** [@fcali](https://discuss.elastic.co/u/fcali)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 1:38pm UTC](https://discuss.elastic.co/t/metricbeat/272424 "2021-05-07T13:38:18Z")

</div>

Hola soy nuevo el uso de Elasticserach, estoy probando monitoreo de infraestructura con Metricbeat, utilizo el dashboard \[Metricbeat System\] Overview ECS para vizualizar la informacion de los equipos, pero en los compon…

---

## [ECS in avro format](https://discuss.elastic.co/t/ecs-in-avro-format/272170)

<div class="topic-metadata">

**Author:** [@birko](https://discuss.elastic.co/u/birko)\
**Replies:** 2\
**Last updated:** [May 6, 2021, 2:22pm UTC](https://discuss.elastic.co/t/ecs-in-avro-format/272170 "2021-05-06T14:22:47Z")

</div>

I'm looking for avro schema representation of ecs. It is necessary in Apache NiFi, when you're trying to transform data with record-oriented processors. Workaround is to use InferAvroSchema processor, but there is necess…

---

## [For ASP.NET (Full .NET Framework), once you’ve referenced](https://discuss.elastic.co/t/for-asp-net-full-net-framework-once-you-ve-referenced/272207)

<div class="topic-metadata">

**Author:** [@stobbe99](https://discuss.elastic.co/u/stobbe99)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 3:21pm UTC](https://discuss.elastic.co/t/for-asp-net-full-net-framework-once-you-ve-referenced/272207 "2021-05-05T15:21:39Z")

</div>

Hello, In the documentation for the ASP.NET config it states: For ASP.NET (Full .NET Framework), once you’ve referenced the Elastic.Apm.AspNetFullFramework package... What is meant by referenced in this context? K…

---

## [No traces for Tomcat with coyote framework](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180)

<div class="topic-metadata">

**Author:** [@Henk\_Stobbe](https://discuss.elastic.co/u/Henk_Stobbe)\
**Replies:** 4\
**Last updated:** [May 5, 2021, 2:24pm UTC](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180 "2021-05-05T14:24:03Z")

</div>

Hello, I have instrumented a tomcat server with the -javaagent, but the outgoing http requests are not getting the trace header. Looking in the classes loaded it seems that the coyote framework is used. I assume this i…

---

## [How to set APM Configuration outside appsettings?](https://discuss.elastic.co/t/how-to-set-apm-configuration-outside-appsettings/272167)

<div class="topic-metadata">

**Author:** [@KARAOGLU](https://discuss.elastic.co/u/KARAOGLU)\
**Replies:** 6\
**Last updated:** [May 5, 2021, 1:01pm UTC](https://discuss.elastic.co/t/how-to-set-apm-configuration-outside-appsettings/272167 "2021-05-05T13:01:00Z")

</div>

My application is running in test environment. I see that it throws apm logs, but it does not work in production environment. I think the reason is from the configuration in appsettings.json by default, briefly as follow…

---

## [Hapi server emitted a log event tagged error](https://discuss.elastic.co/t/hapi-server-emitted-a-log-event-tagged-error/272081)

<div class="topic-metadata">

**Author:** [@Javier\_Aracil](https://discuss.elastic.co/u/Javier_Aracil)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 12:53pm UTC](https://discuss.elastic.co/t/hapi-server-emitted-a-log-event-tagged-error/272081 "2021-05-05T12:53:03Z")

</div>

Hi, We are getting a lot of "hapi server emitted a log event tagged error" with a hapi server. Any clue? Thanks very much, best regards Javier

---

## [How to configure datastream and ILM to keep logs for specific time](https://discuss.elastic.co/t/how-to-configure-datastream-and-ilm-to-keep-logs-for-specific-time/272154)

<div class="topic-metadata">

**Author:** [@lancer\_enkor](https://discuss.elastic.co/u/lancer_enkor)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 11:58am UTC](https://discuss.elastic.co/t/how-to-configure-datastream-and-ilm-to-keep-logs-for-specific-time/272154 "2021-05-05T11:58:53Z")

</div>

I want to configure datastream for gathering my application logs. And I want to keep the data from the app for a specific time, let say for one week. I will not use hot-warm-cold architecture, I just want to have logs fo…

---

## [Unable to create api key](https://discuss.elastic.co/t/unable-to-create-api-key/271603)

<div class="topic-metadata">

**Author:** [@samueliako](https://discuss.elastic.co/u/samueliako)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 5:47am UTC](https://discuss.elastic.co/t/unable-to-create-api-key/271603 "2021-05-05T05:47:24Z")

</div>

Hi all, I have problem with generating api key using this command "#sudo -u apm-server apm-server apikey create --name user1-key". I'm receiving this error: {"error":{"root\_cause":\[{"type":"feature\_not\_enabled\_exceptio…

---

## [.Net Core Console App APM Integrations](https://discuss.elastic.co/t/net-core-console-app-apm-integrations/271909)

<div class="topic-metadata">

**Author:** [@KARAOGLU](https://discuss.elastic.co/u/KARAOGLU)\
**Replies:** 1\
**Last updated:** [May 4, 2021, 5:39am UTC](https://discuss.elastic.co/t/net-core-console-app-apm-integrations/271909 "2021-05-04T05:39:27Z")

</div>

Hello, Can we only use APM in .net web-based applications? I was able to run it in a simple web-based application, but I could not run it in a console application with the same settings. I haven't seen a sample or work…

---

## [Span.End() method seems to lock the application in certain cases](https://discuss.elastic.co/t/span-end-method-seems-to-lock-the-application-in-certain-cases/271960)

<div class="topic-metadata">

**Author:** [@javiersotodev](https://discuss.elastic.co/u/javiersotodev)\
**Replies:** 3\
**Last updated:** [May 4, 2021, 1:42am UTC](https://discuss.elastic.co/t/span-end-method-seems-to-lock-the-application-in-certain-cases/271960 "2021-05-04T01:42:52Z")

</div>

We recently implemented our apm Custom spans in our code (that processes kafka messages in a high speed) and thanks to one of our processes timeouts and further debug logging we catch that a custom Span End method was ca…

---

## [Applying APM Transaction labels to autogenerated spans (python)](https://discuss.elastic.co/t/applying-apm-transaction-labels-to-autogenerated-spans-python/272028)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Jimenez](https://discuss.elastic.co/u/Rodrigo_Jimenez)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 12:58am UTC](https://discuss.elastic.co/t/applying-apm-transaction-labels-to-autogenerated-spans-python/272028 "2021-05-04T00:58:40Z")

</div>

I know this might have been asked before but is there any way to make autogenerated spans from custom code (no framework) inherit the same labels as their parent transactions with the python apm-agent? Thanks!

---

## [Automatic Agent Configuration Options are not working](https://discuss.elastic.co/t/automatic-agent-configuration-options-are-not-working/269862)

<div class="topic-metadata">

**Author:** [@Kevin\_Christopher](https://discuss.elastic.co/u/Kevin_Christopher)\
**Replies:** 4\
**Last updated:** [April 19, 2021, 4:06pm UTC](https://discuss.elastic.co/t/automatic-agent-configuration-options-are-not-working/269862 "2021-04-19T16:06:32Z")

</div>

Kibana version: 7.12 Elasticsearch version: 7.12 APM Server version: 7.12 APM Agent language and version: 1.21.0 Browser version: Chrome 86 Original install method (e.g. download page, yum, deb, from source, et…

---

## [Vuegen scripts and Salenium scripts need to replace with Playwright for Synthetic](https://discuss.elastic.co/t/vuegen-scripts-and-salenium-scripts-need-to-replace-with-playwright-for-synthetic/271970)

<div class="topic-metadata">

**Author:** [@shahidraza](https://discuss.elastic.co/u/shahidraza)\
**Replies:** 1\
**Last updated:** [May 3, 2021, 2:40pm UTC](https://discuss.elastic.co/t/vuegen-scripts-and-salenium-scripts-need-to-replace-with-playwright-for-synthetic/271970 "2021-05-03T14:40:03Z")

</div>

Hi Team, Do we have any info on how we can convert our Vuegen scripts and Selenium scripts to Playwright supported by Elastic Synthetic? Any lead will be appreciated as we are planning to move 10,000 synthetic monitori…

---

## [Kibana Observability Metrics - Issue](https://discuss.elastic.co/t/kibana-observability-metrics-issue/271901)

<div class="topic-metadata">

**Author:** [@Ravi342883](https://discuss.elastic.co/u/Ravi342883)\
**Replies:** 2\
**Last updated:** [May 3, 2021, 10:18am UTC](https://discuss.elastic.co/t/kibana-observability-metrics-issue/271901 "2021-05-03T10:18:30Z")

</div>

Hello Elastic Community Members, Currently, I'm facing issue in loading the metrics (auto populated graphs) over the metricbeat data. I tried 2 scenarios here to figure out this issue, let me brief that in detail. Sce…

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

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