# Elastic Observability

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

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

**Page:** 39

---

## [APM Flask - Treating all transactions as Errors](https://discuss.elastic.co/t/apm-flask-treating-all-transactions-as-errors/343611)

<div class="topic-metadata">

**Author:** [@Jasonespo](https://discuss.elastic.co/u/Jasonespo)\
**Replies:** 5\
**Last updated:** [September 27, 2023, 7:16pm UTC](https://discuss.elastic.co/t/apm-flask-treating-all-transactions-as-errors/343611 "2023-09-27T19:16:38Z")

</div>

Kibana version: 8.9.1 Elasticsearch version: 8.9.1 APM Server version: 8.9.1 APM Agent language and version: Python (Flask) 6.18.0 We are trying to build a proof of concept using Elastic APM and are running into a si…

---

## [Parse AWS EC2 logs Error](https://discuss.elastic.co/t/parse-aws-ec2-logs-error/344005)

<div class="topic-metadata">

**Author:** [@rachelyang](https://discuss.elastic.co/u/rachelyang)\
**Replies:** 0\
**Last updated:** [September 27, 2023, 6:07pm UTC](https://discuss.elastic.co/t/parse-aws-ec2-logs-error/344005 "2023-09-27T18:07:51Z")

</div>

Hi Engineers, I set up Observability Logs Stream in Kibana for AWS EC2 logs. I have received the aws.ec2\_logs, but Message showed "Fail to find message". When I clicked the "View Details" button, the log contents have b…

---

## ["logs threshold rule" adding comparator: "MATCHES"](https://discuss.elastic.co/t/logs-threshold-rule-adding-comparator-matches/343986)

<div class="topic-metadata">

**Author:** [@BRINDAH\_B](https://discuss.elastic.co/u/BRINDAH_B)\
**Replies:** 0\
**Last updated:** [September 27, 2023, 12:51pm UTC](https://discuss.elastic.co/t/logs-threshold-rule-adding-comparator-matches/343986 "2023-09-27T12:51:22Z")

</div>

Missing "comparator": "MATCHES" or "MATCHES PHRASE" in "logs threshold rule". I want end-user to be able to search text fields in that rule. Is this possible? At this stage we are not able to grant "all" privilege for e…

---

## [APM Server status is You have correctly setup APM Serve But Agent status is No data has been received](https://discuss.elastic.co/t/apm-server-status-is-you-have-correctly-setup-apm-serve-but-agent-status-is-no-data-has-been-received/343901)

<div class="topic-metadata">

**Author:** [@Karthick\_MJ](https://discuss.elastic.co/u/Karthick_MJ)\
**Replies:** 1\
**Last updated:** [September 27, 2023, 12:14pm UTC](https://discuss.elastic.co/t/apm-server-status-is-you-have-correctly-setup-apm-serve-but-agent-status-is-no-data-has-been-received/343901 "2023-09-27T12:14:30Z")

</div>

Hello Team, I'm trying to configure APM for my Java project. APM Server says "You have correctly setup APM server" but Agent says "No data bas been received from agent yet" whereas I can the jar logs says "Elastics APM…

---

## [Solution for monitoring](https://discuss.elastic.co/t/solution-for-monitoring/343916)

<div class="topic-metadata">

**Author:** [@sossoulokoariel](https://discuss.elastic.co/u/sossoulokoariel)\
**Replies:** 1\
**Last updated:** [September 27, 2023, 9:37am UTC](https://discuss.elastic.co/t/solution-for-monitoring/343916 "2023-09-27T09:37:20Z")

</div>

Hello community I hope you are well. After unpacking the ELK stack I'd like to do some tests to track my local logs and metrics but I don't really know how to go about it. I'm using the latest version of the stack.

---

## [ECK apm server failed to to index event (security\_exception): action \[indices:admin/auto\_create\]](https://discuss.elastic.co/t/eck-apm-server-failed-to-to-index-event-security-exception-action-indices-admin-auto-create/343741)

<div class="topic-metadata">

**Author:** [@jijil](https://discuss.elastic.co/u/jijil)\
**Replies:** 6\
**Last updated:** [September 26, 2023, 9:19am UTC](https://discuss.elastic.co/t/eck-apm-server-failed-to-to-index-event-security-exception-action-indices-admin-auto-create/343741 "2023-09-26T09:19:41Z")

</div>

Kibana version:8.5.3 Elasticsearch version:8.5.3 APM Server version:8.5.3 I used the below code for ECK APM apiVersion: apm.k8s.elastic.co/v1 kind: ApmServer metadata: name: apm-server-stg spec: version: 8.5.3 …

---

## [Long "Stop the world" breaks in Tomcat, monitored by apm-java-agent](https://discuss.elastic.co/t/long-stop-the-world-breaks-in-tomcat-monitored-by-apm-java-agent/343675)

<div class="topic-metadata">

**Author:** [@Bela\_Borbely](https://discuss.elastic.co/u/Bela_Borbely)\
**Replies:** 9\
**Last updated:** [September 26, 2023, 11:34am UTC](https://discuss.elastic.co/t/long-stop-the-world-breaks-in-tomcat-monitored-by-apm-java-agent/343675 "2023-09-26T11:34:22Z")

</div>

We have ELK-stack with APM server in the Cloud: cloud.elastic.co (APM Server 8.9.1) We are monitoring our production application servers (several Tomcats behind HAproxy) by apm-java-agent (v 1.42) and we (and unfortunat…

---

## [Error while dialing: dial tcp: lookup apm-server on 127.0.0.11:53](https://discuss.elastic.co/t/error-while-dialing-dial-tcp-lookup-apm-server-on-127-0-0-11-53/343354)

<div class="topic-metadata">

**Author:** [@Hamad](https://discuss.elastic.co/u/Hamad)\
**Replies:** 3\
**Last updated:** [September 26, 2023, 8:14am UTC](https://discuss.elastic.co/t/error-while-dialing-dial-tcp-lookup-apm-server-on-127-0-0-11-53/343354 "2023-09-26T08:14:20Z")

</div>

I have installed apm-server to show traces and metrics that are being exported from otel. I can see my service on the APM on kibana but cant see the traces that are exported by otel. while seeing logs of otel collector o…

---

## [Need to create a graph for hourly committed frequency in pie chart](https://discuss.elastic.co/t/need-to-create-a-graph-for-hourly-committed-frequency-in-pie-chart/343842)

<div class="topic-metadata">

**Author:** [@Manjari](https://discuss.elastic.co/u/Manjari)\
**Replies:** 0\
**Last updated:** [September 26, 2023, 7:54am UTC](https://discuss.elastic.co/t/need-to-create-a-graph-for-hourly-committed-frequency-in-pie-chart/343842 "2023-09-26T07:54:00Z")

</div>

No of commits per hour for example 1 commit an hour 5% of the time 2 commit an hour 23% of the time.. and so on

---

## [When using log4j AsyncLoggerContextSelector , trace.id and transaction.id is not injected into the MDC context](https://discuss.elastic.co/t/when-using-log4j-asyncloggercontextselector-trace-id-and-transaction-id-is-not-injected-into-the-mdc-context/343796)

<div class="topic-metadata">

**Author:** [@rkg1201](https://discuss.elastic.co/u/rkg1201)\
**Replies:** 1\
**Last updated:** [September 26, 2023, 7:22am UTC](https://discuss.elastic.co/t/when-using-log4j-asyncloggercontextselector-trace-id-and-transaction-id-is-not-injected-into-the-mdc-context/343796 "2023-09-26T07:22:19Z")

</div>

Hi , we are setting -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector in our jvm proprties and using elastic agent version 1.42.0 . When using the above mentioned log4j async context…

---

## [Backend calls not being traced](https://discuss.elastic.co/t/backend-calls-not-being-traced/343657)

<div class="topic-metadata">

**Author:** [@johngregg](https://discuss.elastic.co/u/johngregg)\
**Replies:** 1\
**Last updated:** [September 25, 2023, 3:11pm UTC](https://discuss.elastic.co/t/backend-calls-not-being-traced/343657 "2023-09-25T15:11:08Z")

</div>

I am using the 1.42 java agent with java 11. Some of my backend calls are not being traced. I have multiple backends that I use Apache HttpClient 4.5 with. Some are traced and some are not. I took thread dumps and th…

---

## [Want to create monitoring indices for only 7 days](https://discuss.elastic.co/t/want-to-create-monitoring-indices-for-only-7-days/343605)

<div class="topic-metadata">

**Author:** [@Rakhshunda\_Noorein\_J](https://discuss.elastic.co/u/Rakhshunda_Noorein_J)\
**Replies:** 10\
**Last updated:** [September 22, 2023, 5:08pm UTC](https://discuss.elastic.co/t/want-to-create-monitoring-indices-for-only-7-days/343605 "2023-09-22T17:08:53Z")

</div>

Hello, I am monitoring my logstash instance through metricbeat monitoring. I want to configure monitoring setting as such that only 7 days monitoring indices is created in my cluster in order to monitor for only 7 days…

---

## [Inject more data to MDC, i.e. user.id](https://discuss.elastic.co/t/inject-more-data-to-mdc-i-e-user-id/342465)

<div class="topic-metadata">

**Author:** [@Nadrendion](https://discuss.elastic.co/u/Nadrendion)\
**Replies:** 5\
**Last updated:** [September 22, 2023, 1:30pm UTC](https://discuss.elastic.co/t/inject-more-data-to-mdc-i-e-user-id/342465 "2023-09-22T13:30:02Z")

</div>

Hi, I have a use case where I have a set of microservices deployed. All of them have the Elastic APM agent attached and log correlation is enabled successfully. I can get Logback to log the transaction.id and the other …

---

## [Client Port information in APM transaction](https://discuss.elastic.co/t/client-port-information-in-apm-transaction/343607)

<div class="topic-metadata">

**Author:** [@Manjunath\_Venkatram](https://discuss.elastic.co/u/Manjunath_Venkatram)\
**Replies:** 1\
**Last updated:** [September 22, 2023, 9:45am UTC](https://discuss.elastic.co/t/client-port-information-in-apm-transaction/343607 "2023-09-22T09:45:24Z")

</div>

Is there a way to get client port information from the apm transaction in elastic java apm ? so far we have only seen server port information. Is there a way to enable this in java apm agent to report client port inform…

---

## [Elastic APM agent not pushing data to APM server from docker but pushing data outside of docker](https://discuss.elastic.co/t/elastic-apm-agent-not-pushing-data-to-apm-server-from-docker-but-pushing-data-outside-of-docker/343111)

<div class="topic-metadata">

**Author:** [@Rishav\_Kr](https://discuss.elastic.co/u/Rishav_Kr)\
**Replies:** 4\
**Last updated:** [September 22, 2023, 8:51am UTC](https://discuss.elastic.co/t/elastic-apm-agent-not-pushing-data-to-apm-server-from-docker-but-pushing-data-outside-of-docker/343111 "2023-09-22T08:51:48Z")

</div>

APM Agent language and version: 6.18.0 with Python (FastAPI) Issue : When executing the APM agent with Python (FastAPI) outside docker I am able to view the API transactions in Kibana, however, when I run the FastAPI…

---

## [Implement Async profiler with elastic APM](https://discuss.elastic.co/t/implement-async-profiler-with-elastic-apm/343495)

<div class="topic-metadata">

**Author:** [@senyam08](https://discuss.elastic.co/u/senyam08)\
**Replies:** 2\
**Last updated:** [September 21, 2023, 1:31pm UTC](https://discuss.elastic.co/t/implement-async-profiler-with-elastic-apm/343495 "2023-09-21T13:31:50Z")

</div>

Could you help with setting up async profiler to use with APM Java agent. I have following properties added profiling\_inferred\_spans\_enabled=true profiling\_inferred\_spans\_sampling\_interval=50ms profiling\_inferred\_spans…

---

## [Uptime monitor status cant use KQL to select specific synthetic monitor](https://discuss.elastic.co/t/uptime-monitor-status-cant-use-kql-to-select-specific-synthetic-monitor/343368)

<div class="topic-metadata">

**Author:** [@niecore](https://discuss.elastic.co/u/niecore)\
**Replies:** 6\
**Last updated:** [September 20, 2023, 8:06am UTC](https://discuss.elastic.co/t/uptime-monitor-status-cant-use-kql-to-select-specific-synthetic-monitor/343368 "2023-09-20T08:06:55Z")

</div>

Hello, Our elastic cloud stack (8.9.1) currently has following issue, where I can not use the KQL to create a alert for a specific synthetic monitor. The screenshot below shows the info "0 Monitors" selected. Has an…

---

## [Error: could not start the HTTP server for the API: listen tcp 127.0.0.1:6791: bind: address already in use](https://discuss.elastic.co/t/error-could-not-start-the-http-server-for-the-api-listen-tcp-127-0-0-1-bind-address-already-in-use/342447)

<div class="topic-metadata">

**Author:** [@tirelibirefe](https://discuss.elastic.co/u/tirelibirefe)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 10:04am UTC](https://discuss.elastic.co/t/error-could-not-start-the-http-server-for-the-api-listen-tcp-127-0-0-1-bind-address-already-in-use/342447 "2023-09-19T10:04:21Z")

</div>

Hello, I have 6 node EKS cluster and installed Elasticsearch/Kibana 8.9.1 . I have been struggling with Fleet. Although 5 elastic-agent pods works on 5 nodes, 1 elastic-agent on 1 node gives following error: Error: co…

---

## [Unable to show span attributes of OTEL span in kibana](https://discuss.elastic.co/t/unable-to-show-span-attributes-of-otel-span-in-kibana/343223)

<div class="topic-metadata">

**Author:** [@Hamad](https://discuss.elastic.co/u/Hamad)\
**Replies:** 6\
**Last updated:** [September 18, 2023, 3:07pm UTC](https://discuss.elastic.co/t/unable-to-show-span-attributes-of-otel-span-in-kibana/343223 "2023-09-18T15:07:11Z")

</div>

I have a nestjs project and i need to trace graphql calls. i am usnig opentelemetry to collect traces and apm server to show them on kibana. The problem i am facing is that all graphql calls are being grouped under same …

---

## [Node Elastic APM agent. Transactions missing trace samples, timeline and metadata](https://discuss.elastic.co/t/node-elastic-apm-agent-transactions-missing-trace-samples-timeline-and-metadata/343276)

<div class="topic-metadata">

**Author:** [@Abror\_Abdullaev](https://discuss.elastic.co/u/Abror_Abdullaev)\
**Replies:** 0\
**Last updated:** [September 18, 2023, 2:54pm UTC](https://discuss.elastic.co/t/node-elastic-apm-agent-transactions-missing-trace-samples-timeline-and-metadata/343276 "2023-09-18T14:54:28Z")

</div>

The environment: Kibana: v 8.8.2 APM Agent elastic-apm-node v4.0.0 NetstJs Framework I am starting the agent at the beginning of my application //main.ts import \* as dotenv from 'dotenv'; import \* as apm from 'elas…

---

## [400 failed to validate metricset: error validating JSON](https://discuss.elastic.co/t/400-failed-to-validate-metricset-error-validating-json/343226)

<div class="topic-metadata">

**Author:** [@soudhaf](https://discuss.elastic.co/u/soudhaf)\
**Replies:** 1\
**Last updated:** [September 18, 2023, 1:34pm UTC](https://discuss.elastic.co/t/400-failed-to-validate-metricset-error-validating-json/343226 "2023-09-18T13:34:27Z")

</div>

Elasticsearch version: 7.9.2 & tried 7.17.11 APM Server version: 7.10.2 & tried 7.17.11 APM Agent language and version: elastic-apm-agent 1.42.0 Original install method (e.g. download page, yum, deb, from source, e…

---

## [Elastic APM dotnet yarp issue](https://discuss.elastic.co/t/elastic-apm-dotnet-yarp-issue/343247)

<div class="topic-metadata">

**Author:** [@tamazbagdavadze](https://discuss.elastic.co/u/tamazbagdavadze)\
**Replies:** 0\
**Last updated:** [September 18, 2023, 10:32am UTC](https://discuss.elastic.co/t/elastic-apm-dotnet-yarp-issue/343247 "2023-09-18T10:32:24Z")

</div>

Kibana version: 8.5.1 Elasticsearch version: 8.5.1 APM Server version: 8.5.1 (amd64), libbeat 8.5.1 \[7cf6f555935def992ecfd9a4693771447cb51431 built 2022-11-09 11:21:18 -0800 -0800\] APM Agent language and version: Elas…

---

## [ELK to monitor job](https://discuss.elastic.co/t/elk-to-monitor-job/342422)

<div class="topic-metadata">

**Author:** [@murran\_rais](https://discuss.elastic.co/u/murran_rais)\
**Replies:** 6\
**Last updated:** [September 18, 2023, 5:00am UTC](https://discuss.elastic.co/t/elk-to-monitor-job/342422 "2023-09-18T05:00:33Z")

</div>

hi, im new with ELK, wanna ask, can ELK monitor job from Apache airflow, SQL or other applications? and can elk monitor comprehensivly like give information about history of the job, last run time of the job, condition o…

---

## [How to do header control in Kibana?](https://discuss.elastic.co/t/how-to-do-header-control-in-kibana/343216)

<div class="topic-metadata">

**Author:** [@dudqlssky96](https://discuss.elastic.co/u/dudqlssky96)\
**Replies:** 1\
**Last updated:** [September 18, 2023, 4:22am UTC](https://discuss.elastic.co/t/how-to-do-header-control-in-kibana/343216 "2023-09-18T04:22:19Z")

</div>

I'd like to change the logo part from Kibana version 8.9. Please help me if you know how

---

## [Multiple filters when creating a Metric Threshold](https://discuss.elastic.co/t/multiple-filters-when-creating-a-metric-threshold/342989)

<div class="topic-metadata">

**Author:** [@vsabado](https://discuss.elastic.co/u/vsabado)\
**Replies:** 22\
**Last updated:** [September 14, 2023, 9:17pm UTC](https://discuss.elastic.co/t/multiple-filters-when-creating-a-metric-threshold/342989 "2023-09-14T21:17:24Z")

</div>

I'm trying to create a rule in ES using the metric threshold. If I used a single filter, it works fine. But when I use a group of filters strung together using "and", like filter1 and filter2 and filter3, then it the rul…

---

## [How can I prevent Cloud APM server from flattening my OpenTelemetry tag hierarchy?](https://discuss.elastic.co/t/how-can-i-prevent-cloud-apm-server-from-flattening-my-opentelemetry-tag-hierarchy/342814)

<div class="topic-metadata">

**Author:** [@Annxii](https://discuss.elastic.co/u/Annxii)\
**Replies:** 5\
**Last updated:** [September 14, 2023, 9:08am UTC](https://discuss.elastic.co/t/how-can-i-prevent-cloud-apm-server-from-flattening-my-opentelemetry-tag-hierarchy/342814 "2023-09-14T09:08:33Z")

</div>

We have recently made a deployment to Elastic Cloud with APM (currently running v8.9.1). We are sending OpenTelemetry traces directly from dotnet applications to the APM endpoint. This is working fine, but we are having …

---

## [Custom index for transaction traces & spans](https://discuss.elastic.co/t/custom-index-for-transaction-traces-spans/341580)

<div class="topic-metadata">

**Author:** [@Namita\_Jaokar](https://discuss.elastic.co/u/Namita_Jaokar)\
**Replies:** 2\
**Last updated:** [September 13, 2023, 4:10pm UTC](https://discuss.elastic.co/t/custom-index-for-transaction-traces-spans/341580 "2023-09-13T16:10:02Z")

</div>

Hi , I am trying to create custom indices for my java agent. I want my transaction traces to be saved in those indices and not the custom .ds-traces\* For the same , I came across APM\>Settings\>Indices in the kibana sec…

---

## [Data not coming through for my ELASTIC APM for .net framework 4.6.1](https://discuss.elastic.co/t/data-not-coming-through-for-my-elastic-apm-for-net-framework-4-6-1/342949)

<div class="topic-metadata">

**Author:** [@Timmy101](https://discuss.elastic.co/u/Timmy101)\
**Replies:** 0\
**Last updated:** [September 13, 2023, 12:22pm UTC](https://discuss.elastic.co/t/data-not-coming-through-for-my-elastic-apm-for-net-framework-4-6-1/342949 "2023-09-13T12:22:03Z")

</div>

Hi All, please I have installed Elastic APM in 3 of my API -projects and they all work fine but am having issues in one. Did everything a per documentation but no data coming through. and am getting this error , don…

---

## [Elastic CEF integration.. no messages to elasticsearch](https://discuss.elastic.co/t/elastic-cef-integration-no-messages-to-elasticsearch/340132)

<div class="topic-metadata">

**Author:** [@mr\_ph](https://discuss.elastic.co/u/mr_ph)\
**Replies:** 2\
**Last updated:** [September 13, 2023, 8:30am UTC](https://discuss.elastic.co/t/elastic-cef-integration-no-messages-to-elasticsearch/340132 "2023-09-13T08:30:52Z")

</div>

Hi, team I am using ELK 8.9. Also while i am looking into the integration, at the cef integration part after the configuration i am only getting these errors failed to get tcp6 stats from /proc: /proc/net/tcp6 entry …

---

## [Instrumentation of tedious and ioredis is not working when deploying the next.js project in standalone mode](https://discuss.elastic.co/t/instrumentation-of-tedious-and-ioredis-is-not-working-when-deploying-the-next-js-project-in-standalone-mode/342826)

<div class="topic-metadata">

**Author:** [@gsmicky1994](https://discuss.elastic.co/u/gsmicky1994)\
**Replies:** 0\
**Last updated:** [September 12, 2023, 11:33am UTC](https://discuss.elastic.co/t/instrumentation-of-tedious-and-ioredis-is-not-working-when-deploying-the-next-js-project-in-standalone-mode/342826 "2023-09-12T11:33:43Z")

</div>

Kibana version: 8.9.1 Elasticsearch version: 8.9.1 APM Server version: 8.9.1 APM Agent language and version: 3.49.1 (node.js) Original install method (e.g. download page, yum, deb, from source, etc.) and version: np…

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

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