# Elastic Observability

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

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

**Page:** 97

---

## [More granular logging](https://discuss.elastic.co/t/more-granular-logging/267099)

<div class="topic-metadata">

**Author:** [@Beltiras](https://discuss.elastic.co/u/Beltiras)\
**Replies:** 2\
**Last updated:** [March 18, 2021, 9:33am UTC](https://discuss.elastic.co/t/more-granular-logging/267099 "2021-03-18T09:33:56Z")

</div>

I'm using a really simple setup of APM, Kibana and Elasticsearch to get visibility on a Django webapp running in a container through Gunicorn. It's performance is stuttering once in a while and I can't see a reason for i…

---

## [Log message format remove event.dataset](https://discuss.elastic.co/t/log-message-format-remove-event-dataset/267523)

<div class="topic-metadata">

**Author:** [@glucaci](https://discuss.elastic.co/u/glucaci)\
**Replies:** 1\
**Last updated:** [March 18, 2021, 6:38am UTC](https://discuss.elastic.co/t/log-message-format-remove-event-dataset/267523 "2021-03-18T06:38:25Z")

</div>

The APM Overview shows the logs graphics only if I set the event.dataset but on the other hand if I set it in all Logs message field I see first the event.dataset. Log message pattern: \[event.dataset\] \[log.level\] \[messa…

---

## [Heartbeat TCP monitor does not return a "connection refused" message](https://discuss.elastic.co/t/heartbeat-tcp-monitor-does-not-return-a-connection-refused-message/266687)

<div class="topic-metadata">

**Author:** [@norgro2601](https://discuss.elastic.co/u/norgro2601)\
**Replies:** 8\
**Last updated:** [March 17, 2021, 6:44am UTC](https://discuss.elastic.co/t/heartbeat-tcp-monitor-does-not-return-a-connection-refused-message/266687 "2021-03-17T06:44:11Z")

</div>

Hi, we've moved the monitoring of an application from Nagios to Heartbeat. Now we noticed a difference, which is causing some trouble. A TCP check in Nagios for a specific port returns a "connection refused" as result,…

---

## [How to disable capturing of specific headers only](https://discuss.elastic.co/t/how-to-disable-capturing-of-specific-headers-only/267282)

<div class="topic-metadata">

**Author:** [@kbalys](https://discuss.elastic.co/u/kbalys)\
**Replies:** 3\
**Last updated:** [March 16, 2021, 4:49pm UTC](https://discuss.elastic.co/t/how-to-disable-capturing-of-specific-headers-only/267282 "2021-03-16T16:49:33Z")

</div>

I would like to skip capturing of some of the request headers. I am aware of of the settings: \<add key="ElasticApm:CaptureHeaders" value="false"/\> But this disables capturing of all headers, after that I don't have for…

---

## [Reference the count of a field name in metrics](https://discuss.elastic.co/t/reference-the-count-of-a-field-name-in-metrics/266061)

<div class="topic-metadata">

**Author:** [@kwoxer](https://discuss.elastic.co/u/kwoxer)\
**Replies:** 16\
**Last updated:** [March 16, 2021, 8:03am UTC](https://discuss.elastic.co/t/reference-the-count-of-a-field-name-in-metrics/266061 "2021-03-16T08:03:35Z")

</div>

I would like to have calculation like you see in the image. How to solve that? I was trying: { "script" : { "lang": "painless", "inline": "\_value \* params.manualSeconds / params.correction / params.fa…

---

## [Elastic Common Schema Fields for Reverse Proxies](https://discuss.elastic.co/t/elastic-common-schema-fields-for-reverse-proxies/267074)

<div class="topic-metadata">

**Author:** [@learnerbyheart](https://discuss.elastic.co/u/learnerbyheart)\
**Replies:** 2\
**Last updated:** [March 15, 2021, 9:10pm UTC](https://discuss.elastic.co/t/elastic-common-schema-fields-for-reverse-proxies/267074 "2021-03-15T21:10:46Z")

</div>

Hello, we are currently migrating our NGINX logging format to the Elastic Common Schema. For some NGINX logging values I cannot find any fitting fields. In our case we use NGINX as a reverse proxy in Kubernetes. Most of…

---

## [Unknown health status](https://discuss.elastic.co/t/unknown-health-status/266792)

<div class="topic-metadata">

**Author:** [@Harm](https://discuss.elastic.co/u/Harm)\
**Replies:** 3\
**Last updated:** [March 15, 2021, 2:43pm UTC](https://discuss.elastic.co/t/unknown-health-status/266792 "2021-03-15T14:43:58Z")

</div>

Kibana version: 7.10.0 Elasticsearch version: 7.10.0 APM Server version: 7.10.0 APM Agent language and version: dotnet 1.5.1 Browser version: Chrome 89 Original install method (e.g. download page, yum, deb, from sou…

---

## [Is there an Elastic Agent configuration on K8s can send pod logs?](https://discuss.elastic.co/t/is-there-an-elastic-agent-configuration-on-k8s-can-send-pod-logs/267259)

<div class="topic-metadata">

**Author:** [@djmcgreal-cc](https://discuss.elastic.co/u/djmcgreal-cc)\
**Replies:** 0\
**Last updated:** [March 15, 2021, 12:15pm UTC](https://discuss.elastic.co/t/is-there-an-elastic-agent-configuration-on-k8s-can-send-pod-logs/267259 "2021-03-15T12:15:39Z")

</div>

Hi, I've had success deploying elastic-agent to K8s using https://raw.githubusercontent.com/elastic/cloud-on-k8s/1.4/config/recipes/elastic-agent/kubernetes-integration.yaml This configuration doesn't include the collec…

---

## [APM Server queue is full](https://discuss.elastic.co/t/apm-server-queue-is-full/266866)

<div class="topic-metadata">

**Author:** [@rp346](https://discuss.elastic.co/u/rp346)\
**Replies:** 1\
**Last updated:** [March 15, 2021, 2:27am UTC](https://discuss.elastic.co/t/apm-server-queue-is-full/266866 "2021-03-15T02:27:39Z")

</div>

I have setup APM Server along with EBK stack. APM server has following configuration apm-server.ymlapm-server: host: "0.0.0.0:8200" frontend: enabled: false setup.template.settings: …

---

## [How to use Elastic APM to collect performance for example from zabbix](https://discuss.elastic.co/t/how-to-use-elastic-apm-to-collect-performance-for-example-from-zabbix/267087)

<div class="topic-metadata">

**Author:** [@francieliton\_araujo](https://discuss.elastic.co/u/francieliton_araujo)\
**Replies:** 2\
**Last updated:** [March 14, 2021, 9:43pm UTC](https://discuss.elastic.co/t/how-to-use-elastic-apm-to-collect-performance-for-example-from-zabbix/267087 "2021-03-14T21:43:29Z")

</div>

This subject of APM is very new to me, I would like to know how do I monitor a zabbix application. I see several examples but everything is used an application created by the person himself. I work with monitoring and fo…

---

## [Nginx Ingress and APM](https://discuss.elastic.co/t/nginx-ingress-and-apm/267082)

<div class="topic-metadata">

**Author:** [@PeterVertical](https://discuss.elastic.co/u/PeterVertical)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 5:58pm UTC](https://discuss.elastic.co/t/nginx-ingress-and-apm/267082 "2021-03-12T17:58:34Z")

</div>

Hi Is there some information or tutorial about using the nginx ingress opentracing support with elastic apm? I can find tutorials for other apm solutions but not for elastic. Can anybody point me in the right directio…

---

## [PHP APM Error](https://discuss.elastic.co/t/php-apm-error/267044)

<div class="topic-metadata">

**Author:** [@eric\_llistar](https://discuss.elastic.co/u/eric_llistar)\
**Replies:** 0\
**Last updated:** [March 12, 2021, 6:55am UTC](https://discuss.elastic.co/t/php-apm-error/267044 "2021-03-12T06:55:54Z")

</div>

Kibana version: v7.11.2 Elasticsearch version: v7.11.2 APM Server version: v7.11.2 APM Agent language and version: PHP 1.0 Beta Browser version: Safari 14 Original install method (e.g. download page, yum, deb, f…

---

## [Elastic apm agent Read timed out issue](https://discuss.elastic.co/t/elastic-apm-agent-read-timed-out-issue/266818)

<div class="topic-metadata">

**Author:** [@shurankain](https://discuss.elastic.co/u/shurankain)\
**Replies:** 4\
**Last updated:** [March 11, 2021, 2:00pm UTC](https://discuss.elastic.co/t/elastic-apm-agent-read-timed-out-issue/266818 "2021-03-11T14:00:20Z")

</div>

We are using kibana 7.7 and co.elastic.apm:apm-agent-attach:1.21.0 and getting error soon after apm server starts. It makes our services visible in kibana, but anyway it logs such errors every 5 minutes: \[elastic-apm-rem…

---

## [Problem with Elastic APM](https://discuss.elastic.co/t/problem-with-elastic-apm/266277)

<div class="topic-metadata">

**Author:** [@Luis\_Garavatti](https://discuss.elastic.co/u/Luis_Garavatti)\
**Replies:** 28\
**Last updated:** [March 11, 2021, 1:23pm UTC](https://discuss.elastic.co/t/problem-with-elastic-apm/266277 "2021-03-11T13:23:34Z")

</div>

Hi Guys! We have a problem with our Elastic APM, since yesterday we have not been able to view the data I looked at the logs of the apm server and did not find any problems, but if I search in the other day (the last m…

---

## [Java APM Agent Micrometer Integration not handling TimeGauge as desired](https://discuss.elastic.co/t/java-apm-agent-micrometer-integration-not-handling-timegauge-as-desired/265833)

<div class="topic-metadata">

**Author:** [@bplies](https://discuss.elastic.co/u/bplies)\
**Replies:** 3\
**Last updated:** [March 11, 2021, 9:00am UTC](https://discuss.elastic.co/t/java-apm-agent-micrometer-integration-not-handling-timegauge-as-desired/265833 "2021-03-11T09:00:48Z")

</div>

Kibana version: 7.10.0 Elasticsearch version: 7.10.0 APM Server version: 7.10.0 APM Agent language and version: Java 1.20.0 Browser version: N/A Original install method (e.g. download page, yum, deb, from source, e…

---

## [\[RUM\] Enrich document with HTTP request headers](https://discuss.elastic.co/t/rum-enrich-document-with-http-request-headers/266844)

<div class="topic-metadata">

**Author:** [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Replies:** 2\
**Last updated:** [March 11, 2021, 9:00am UTC](https://discuss.elastic.co/t/rum-enrich-document-with-http-request-headers/266844 "2021-03-11T09:00:34Z")

</div>

Kibana version: 7.11.0 Elasticsearch version: 7.11.0 APM Server version: 7.11.0 APM Agent language and version: RUM JS library To respect user privacy, our front load-balancers inject geoip data (X-Geo-Country ..) wi…

---

## [No transaction data sent to APM Server](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779)

<div class="topic-metadata">

**Author:** [@georgepopovici](https://discuss.elastic.co/u/georgepopovici)\
**Replies:** 11\
**Last updated:** [March 11, 2021, 7:34am UTC](https://discuss.elastic.co/t/no-transaction-data-sent-to-apm-server/266779 "2021-03-11T07:34:01Z")

</div>

Kibana version: 7.11.1 Elasticsearch version: 7.11.1 APM Server version: { "build\_date": "2021-02-15T12:37:48Z", "build\_sha": "e77061bb3aaedae5ae8dd0ca193eb662513aedde", "version": "7.11.0" } APM Agent language…

---

## [Metrics from logstash with custom index to show in Elastic Observability](https://discuss.elastic.co/t/metrics-from-logstash-with-custom-index-to-show-in-elastic-observability/266203)

<div class="topic-metadata">

**Author:** [@alidrsn](https://discuss.elastic.co/u/alidrsn)\
**Replies:** 1\
**Last updated:** [March 10, 2021, 7:08pm UTC](https://discuss.elastic.co/t/metrics-from-logstash-with-custom-index-to-show-in-elastic-observability/266203 "2021-03-10T19:08:56Z")

</div>

Hello, I am trying to use Elasticsearch Observability Metrics with RabbitMQ dashboard. However, i am not sending metrics directly to elasticsearch, using logstash and custom index names. When i am trying to add data (Ra…

---

## [Elastic-apm-agent Ruby v3.13.0+](https://discuss.elastic.co/t/elastic-apm-agent-ruby-v3-13-0/266856)

<div class="topic-metadata">

**Author:** [@willis](https://discuss.elastic.co/u/willis)\
**Replies:** 0\
**Last updated:** [March 10, 2021, 6:37pm UTC](https://discuss.elastic.co/t/elastic-apm-agent-ruby-v3-13-0/266856 "2021-03-10T18:37:10Z")

</div>

Hi! I am not sure if this is the right place to ask this, but when is the next release of elastic/apm-agent -ruby planned? There was a fix applied last month to master that would help us out greatly if we could get the …

---

## [HttpUrlConnectionInstrumentation not work when use in different thread](https://discuss.elastic.co/t/httpurlconnectioninstrumentation-not-work-when-use-in-different-thread/266560)

<div class="topic-metadata">

**Author:** [@sadu](https://discuss.elastic.co/u/sadu)\
**Replies:** 7\
**Last updated:** [March 10, 2021, 3:46pm UTC](https://discuss.elastic.co/t/httpurlconnectioninstrumentation-not-work-when-use-in-different-thread/266560 "2021-03-10T15:46:12Z")

</div>

Kibana version : 7.10.2 Elasticsearch version : 7.10.2 APM Server version : 1.17.0 APM Agent language and version : Java Browser version : Chrome 79.0.3945.117 Original install method (e.g. download page, yum, de…

---

## [Is it possible to configure the Java APM agent to collect metrics but not traces?](https://discuss.elastic.co/t/is-it-possible-to-configure-the-java-apm-agent-to-collect-metrics-but-not-traces/266405)

<div class="topic-metadata">

**Author:** [@bplies](https://discuss.elastic.co/u/bplies)\
**Replies:** 6\
**Last updated:** [March 10, 2021, 11:03am UTC](https://discuss.elastic.co/t/is-it-possible-to-configure-the-java-apm-agent-to-collect-metrics-but-not-traces/266405 "2021-03-10T11:03:01Z")

</div>

We have an edge service that will receive maybe a billion requests per day where it isn't feasible to have much of any transaction sample rate. It is implemented with Spring WebFlux running on Netty which aren't officia…

---

## [Could not create index / connection refused every minute](https://discuss.elastic.co/t/could-not-create-index-connection-refused-every-minute/266723)

<div class="topic-metadata">

**Author:** [@Youssef\_CHTOUROU](https://discuss.elastic.co/u/Youssef_CHTOUROU)\
**Replies:** 1\
**Last updated:** [March 10, 2021, 7:59am UTC](https://discuss.elastic.co/t/could-not-create-index-connection-refused-every-minute/266723 "2021-03-10T07:59:00Z")

</div>

Kibana version: 7.10.1 Elasticsearch version: 7.10.1 APM Server version: 7.10.1 APM Agent language and version: Language : Java Version : 1.9 Description of the problem including expected versus actual behavior.…

---

## [Cannot find Alias field in Discover](https://discuss.elastic.co/t/cannot-find-alias-field-in-discover/264517)

<div class="topic-metadata">

**Author:** [@anjana1](https://discuss.elastic.co/u/anjana1)\
**Replies:** 4\
**Last updated:** [March 10, 2021, 5:18am UTC](https://discuss.elastic.co/t/cannot-find-alias-field-in-discover/264517 "2021-03-10T05:18:59Z")

</div>

Kibana version : 7.9 Elasticsearch version : 7.10 APM Server version : 7.10 APM Agent language and version : java 1.8 Fresh install or upgraded from other version? fresh install I wanted to create field alias for a…

---

## [Alert on an existing visualization of type "metric"](https://discuss.elastic.co/t/alert-on-an-existing-visualization-of-type-metric/266471)

<div class="topic-metadata">

**Author:** [@fml2](https://discuss.elastic.co/u/fml2)\
**Replies:** 1\
**Last updated:** [March 9, 2021, 9:18am UTC](https://discuss.elastic.co/t/alert-on-an-existing-visualization-of-type-metric/266471 "2021-03-09T09:18:35Z")

</div>

Hello, I've created a dashboard with a visualization of type "metric". The visualization displays the number of the log entries of type "ERROR" in the selected time span. Is it possible to define an alert on this visual…

---

## [Alert When - system\_fails\_to\_provide\_data - dynamic group of sending hosts](https://discuss.elastic.co/t/alert-when-system-fails-to-provide-data-dynamic-group-of-sending-hosts/265094)

<div class="topic-metadata">

**Author:** [@bbek](https://discuss.elastic.co/u/bbek)\
**Replies:** 5\
**Last updated:** [March 9, 2021, 9:08am UTC](https://discuss.elastic.co/t/alert-when-system-fails-to-provide-data-dynamic-group-of-sending-hosts/265094 "2021-03-09T09:08:48Z")

</div>

I have a use case to alert when a host fails to send logs. There is a watcher configured here, which is similar to what I'm trying to achieve: I like the logic, aggregate hosts on last 24 hours, then check for last 5 …

---

## [Error in APM PHP agent](https://discuss.elastic.co/t/error-in-apm-php-agent/265999)

<div class="topic-metadata">

**Author:** [@rgb3](https://discuss.elastic.co/u/rgb3)\
**Replies:** 2\
**Last updated:** [March 8, 2021, 10:21pm UTC](https://discuss.elastic.co/t/error-in-apm-php-agent/265999 "2021-03-08T22:21:07Z")

</div>

Kibana version: 7.11.1 Elasticsearch version: 7.11.1 APM Server version: 7.11.1 APM Agent language and version: PHP 1.0 beta Browser version: N/A, but Firefox 86.0 Original install method (e.g. download page, yum, d…

---

## [Metricbeat Visualization - What does this mean?](https://discuss.elastic.co/t/metricbeat-visualization-what-does-this-mean/266484)

<div class="topic-metadata">

**Author:** [@lamp123432](https://discuss.elastic.co/u/lamp123432)\
**Replies:** 4\
**Last updated:** [March 8, 2021, 4:36pm UTC](https://discuss.elastic.co/t/metricbeat-visualization-what-does-this-mean/266484 "2021-03-08T16:36:08Z")

</div>

Hello, Can someone tell me what does this mean for the CPU visualization for Metricbeat dashboard: Where can I find more about TSVB's Bucket Script's Painless support?

---

## [Java agent and rabbitmq](https://discuss.elastic.co/t/java-agent-and-rabbitmq/266569)

<div class="topic-metadata">

**Author:** [@fernando\_dominguez](https://discuss.elastic.co/u/fernando_dominguez)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 3:20pm UTC](https://discuss.elastic.co/t/java-agent-and-rabbitmq/266569 "2021-03-08T15:20:53Z")

</div>

Kibana version: 7.11 Elasticsearch version: 7.11 APM Server version: 7.11 APM Agent language and version: java agent 1.21.0 Browser version: Chrome 88.0.4324.190 (Build oficial) (64 bits) Fresh install or upgraded …

---

## [Add custom information to Error Context](https://discuss.elastic.co/t/add-custom-information-to-error-context/263701)

<div class="topic-metadata">

**Author:** [@sadu](https://discuss.elastic.co/u/sadu)\
**Replies:** 4\
**Last updated:** [March 8, 2021, 1:31pm UTC](https://discuss.elastic.co/t/add-custom-information-to-error-context/263701 "2021-03-08T13:31:14Z")

</div>

Kibana version: 7.10.2 Elasticsearch version: 7.10.2 APM Server version: 1.17.0 APM Agent language and version: Java Browser version: Chrome 79.0.3945.117 Original install method (e.g. download page, yum, deb, fr…

---

## [How to get parent span id from span](https://discuss.elastic.co/t/how-to-get-parent-span-id-from-span/266430)

<div class="topic-metadata">

**Author:** [@peng\_xing](https://discuss.elastic.co/u/peng_xing)\
**Replies:** 7\
**Last updated:** [March 8, 2021, 8:29am UTC](https://discuss.elastic.co/t/how-to-get-parent-span-id-from-span/266430 "2021-03-08T08:29:32Z")

</div>

I want to get some information from apm SpanContext to log in my logs, but I only can get transcationId, traceId and spanId, how to get the parent span id? The code come from apmlogrus // TraceContext returns a logrus.…

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

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