# Elastic Observability

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

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

**Page:** 165

---

## [Monitor tomcat and custom applications](https://discuss.elastic.co/t/monitor-tomcat-and-custom-applications/143522)

<div class="topic-metadata">

**Author:** [@Gauti](https://discuss.elastic.co/u/Gauti)\
**Replies:** 3\
**Last updated:** [August 9, 2018, 9:55am UTC](https://discuss.elastic.co/t/monitor-tomcat-and-custom-applications/143522 "2018-08-09T09:55:39Z")

</div>

Hi All, I'm pretty new to the APM module, was just checking whether we can monitor tomcat application, because in the downloadable apm agents i dont see anything for tomcat. If we can monitor can someone please guide m…

---

## [How to add contextual information with Flask plugin?](https://discuss.elastic.co/t/how-to-add-contextual-information-with-flask-plugin/143066)

<div class="topic-metadata">

**Author:** [@fr0der1c](https://discuss.elastic.co/u/fr0der1c)\
**Replies:** 6\
**Last updated:** [August 9, 2018, 9:09am UTC](https://discuss.elastic.co/t/how-to-add-contextual-information-with-flask-plugin/143066 "2018-08-09T09:09:25Z")

</div>

I started to use Flask APM package today. It worked fine. But when I tried to add contextual information, I got into trouble. I looked for official doc (Flask support | APM Python Agent Reference \[2.x\] | Elastic) and go…

---

## [Failed to connect to apmX port 8200: Connection refused](https://discuss.elastic.co/t/failed-to-connect-to-apmx-port-8200-connection-refused/142800)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 1\
**Last updated:** [August 2, 2018, 7:17pm UTC](https://discuss.elastic.co/t/failed-to-connect-to-apmx-port-8200-connection-refused/142800 "2018-08-02T19:17:56Z")

</div>

I'm getting following error (through my app's logs): sending transactions failed: sending request for SendTransactions failed: Post http://apmX:8200/v1/transactions: dial tcp 10.0.10.187:8200: connect: connection refuse…

---

## [APM JavaScript Agent linking with backend](https://discuss.elastic.co/t/apm-javascript-agent-linking-with-backend/142683)

<div class="topic-metadata">

**Author:** [@gjelenc](https://discuss.elastic.co/u/gjelenc)\
**Replies:** 3\
**Last updated:** [August 2, 2018, 1:24pm UTC](https://discuss.elastic.co/t/apm-javascript-agent-linking-with-backend/142683 "2018-08-02T13:24:39Z")

</div>

Hi, I successfully integrated APM JavaScript agent in one of our test applications based on Ionic framework. That test application is connected to backend microservices, which are also producing logs and are collected …

---

## [Kubernetes Metadata Missing](https://discuss.elastic.co/t/kubernetes-metadata-missing/141661)

<div class="topic-metadata">

**Author:** [@mkeats](https://discuss.elastic.co/u/mkeats)\
**Replies:** 1\
**Last updated:** [August 2, 2018, 1:21pm UTC](https://discuss.elastic.co/t/kubernetes-metadata-missing/141661 "2018-08-02T13:21:10Z")

</div>

https://www.elastic.co/guide/en/apm/server/6.3/exported-fields-kubernetes-processor.html lists some fields that are added by the kubernetes processor. How do we enable this? Is there a plugin to include, or some cofigur…

---

## [Error during startup of application configured with Elastic APM Java agent (Beta)](https://discuss.elastic.co/t/error-during-startup-of-application-configured-with-elastic-apm-java-agent-beta/140070)

<div class="topic-metadata">

**Author:** [@krishnaarp](https://discuss.elastic.co/u/krishnaarp)\
**Replies:** 1\
**Last updated:** [August 1, 2018, 12:35pm UTC](https://discuss.elastic.co/t/error-during-startup-of-application-configured-with-elastic-apm-java-agent-beta/140070 "2018-08-01T12:35:20Z")

</div>

I am trying to configure my java app, with elastic APM agent, as per instructions given here - https://www.elastic.co/guide/en/apm/agent/java/current/index.html Once I bring up my java app, when I try to access its url …

---

## [PHP APM Agent and Laravel Support](https://discuss.elastic.co/t/php-apm-agent-and-laravel-support/139101)

<div class="topic-metadata">

**Author:** [@philkra](https://discuss.elastic.co/u/philkra)\
**Replies:** 4\
**Last updated:** [July 31, 2018, 4:59pm UTC](https://discuss.elastic.co/t/php-apm-agent-and-laravel-support/139101 "2018-07-31T16:59:42Z")

</div>

Hi everyone, I wanted to notify that the latest version of the APM PHP Agent is ready for production use and marked as GA. https://github.com/philkra/elastic-apm-php-agent Furthermore, a Laravel middleware exists which…

---

## [Java APM agent sends no timeline spans](https://discuss.elastic.co/t/java-apm-agent-sends-no-timeline-spans/141150)

<div class="topic-metadata">

**Author:** [@albert1625](https://discuss.elastic.co/u/albert1625)\
**Replies:** 9\
**Last updated:** [July 27, 2018, 1:03pm UTC](https://discuss.elastic.co/t/java-apm-agent-sends-no-timeline-spans/141150 "2018-07-27T13:03:33Z")

</div>

Hi everyone. I am using ELK stack with running APM server and I have Spring Boot application which I used to run APM agent. There is no much logic behind application, but the main thing is that it has HTTP endpoints whi…

---

## [Search by transaction.id](https://discuss.elastic.co/t/search-by-transaction-id/141465)

<div class="topic-metadata">

**Author:** [@mhoareau84](https://discuss.elastic.co/u/mhoareau84)\
**Replies:** 1\
**Last updated:** [July 25, 2018, 7:17am UTC](https://discuss.elastic.co/t/search-by-transaction-id/141465 "2018-07-25T07:17:56Z")

</div>

Hi here, in Kibana \> APM \> transaction detail, we can see the full detail about a "random" transaction (section "Transaction sample" below the histogram). Is it possible to have this view for a specific transaction? E…

---

## [Capture\_body is ignored](https://discuss.elastic.co/t/capture-body-is-ignored/140757)

<div class="topic-metadata">

**Author:** [@chris\_krosk](https://discuss.elastic.co/u/chris_krosk)\
**Replies:** 5\
**Last updated:** [July 24, 2018, 6:55am UTC](https://discuss.elastic.co/t/capture-body-is-ignored/140757 "2018-07-24T06:55:46Z")

</div>

Hello Elastic Team, I testing javaAgent and I trying to log "context.request.body" in APM. Withe these configuration : elastic.apm.capture\_body=transactions or elastic.apm.capture\_body=all The context.request.body…

---

## [Java APM with Tomcat & Quartz](https://discuss.elastic.co/t/java-apm-with-tomcat-quartz/139589)

<div class="topic-metadata">

**Author:** [@chris\_krosk](https://discuss.elastic.co/u/chris_krosk)\
**Replies:** 9\
**Last updated:** [July 17, 2018, 2:35pm UTC](https://discuss.elastic.co/t/java-apm-with-tomcat-quartz/139589 "2018-07-17T14:35:41Z")

</div>

Hello Elastic Team, I would test APM java with Tomcat application. My code use Quartz Job scheduler with JDBC connection (MariadDB). I've configured elk java agent, adding export CATALINA\_OPTS="$CATALINA\_OPTS -javaag…

---

## [APM server not getting events from Django](https://discuss.elastic.co/t/apm-server-not-getting-events-from-django/139709)

<div class="topic-metadata">

**Author:** [@kmcdeogracias](https://discuss.elastic.co/u/kmcdeogracias)\
**Replies:** 3\
**Last updated:** [July 13, 2018, 7:58am UTC](https://discuss.elastic.co/t/apm-server-not-getting-events-from-django/139709 "2018-07-13T07:58:01Z")

</div>

I setup the apm agent in my django app,verified that the configs are working but I'm not getting any transactions saved in elastic. I created a script that calls a GET endpoint 100x but no transaction is captured. I onl…

---

## [APM Server returns unsuccessful \[400\] from APM Ruby](https://discuss.elastic.co/t/apm-server-returns-unsuccessful-400-from-apm-ruby/139829)

<div class="topic-metadata">

**Author:** [@i5okie](https://discuss.elastic.co/u/i5okie)\
**Replies:** 1\
**Last updated:** [July 12, 2018, 8:13pm UTC](https://discuss.elastic.co/t/apm-server-returns-unsuccessful-400-from-apm-ruby/139829 "2018-07-12T20:13:58Z")

</div>

\[ElasticAPM\] POST returned an unsuccessful status code (400) \[ElasticAPM\] apm-server's response: {"error":"data validation error: Problem validating JSON document against schema: I\[#\] S\[#\] doesn't validate with "transac…

---

## [APM with Play 2.x Framework](https://discuss.elastic.co/t/apm-with-play-2-x-framework/138511)

<div class="topic-metadata">

**Author:** [@thanghv55](https://discuss.elastic.co/u/thanghv55)\
**Replies:** 2\
**Last updated:** [July 10, 2018, 3:53am UTC](https://discuss.elastic.co/t/apm-with-play-2-x-framework/138511 "2018-07-10T03:53:02Z")

</div>

Hi everyone, I want to intergated APM of elastic with Play framework in java, however i only found that apm with tomcat or spring. Please give me some advices. Thanks so much!

---

## [APM Agent in Scala application](https://discuss.elastic.co/t/apm-agent-in-scala-application/138850)

<div class="topic-metadata">

**Author:** [@neirda](https://discuss.elastic.co/u/neirda)\
**Replies:** 4\
**Last updated:** [July 6, 2018, 10:03am UTC](https://discuss.elastic.co/t/apm-agent-in-scala-application/138850 "2018-07-06T10:03:49Z")

</div>

Hello. I am trying to use the APM with the java agent into a Scala application, built by sbt. I have installed and launched with success Elasticsearch and Kibana. I have also integrated the java agent into my applicat…

---

## [No code spans in Node app](https://discuss.elastic.co/t/no-code-spans-in-node-app/136751)

<div class="topic-metadata">

**Author:** [@shanly](https://discuss.elastic.co/u/shanly)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 5:27pm UTC](https://discuss.elastic.co/t/no-code-spans-in-node-app/136751 "2018-07-05T17:27:05Z")

</div>

Hi! I set up an APM agent (v1.7) for my Node.JS/Express app. I'm seeing my service and transactions in Kibana APM, but I'm only seeing DB and ext spans in transaction traces. I confirmed I'm running supported versions (N…

---

## [@elasticapm.capture\_span not working in some modules](https://discuss.elastic.co/t/elasticapm-capture-span-not-working-in-some-modules/138686)

<div class="topic-metadata">

**Author:** [@11191](https://discuss.elastic.co/u/11191)\
**Replies:** 4\
**Last updated:** [July 5, 2018, 11:53am UTC](https://discuss.elastic.co/t/elasticapm-capture-span-not-working-in-some-modules/138686 "2018-07-05T11:53:00Z")

</div>

Decorator elasticapm.capture\_span doesnt work in some modules while working in others. I dont do anything except importing elasticapm, so may be there are other dependencies? Anyone knows how to debug decorators and can…

---

## [Elasticsearch APM agent not pushing to server](https://discuss.elastic.co/t/elasticsearch-apm-agent-not-pushing-to-server/138547)

<div class="topic-metadata">

**Author:** [@hHelen](https://discuss.elastic.co/u/hHelen)\
**Replies:** 2\
**Last updated:** [July 4, 2018, 1:11pm UTC](https://discuss.elastic.co/t/elasticsearch-apm-agent-not-pushing-to-server/138547 "2018-07-04T13:11:42Z")

</div>

I have a server running on a remote computer and have installed the APM agent on another computer with Flask installed. But for some reason I keep getting this error on the client: Connection to APM Server timed out (ur…

---

## [How to Intergrate apm agent with dot net windows application](https://discuss.elastic.co/t/how-to-intergrate-apm-agent-with-dot-net-windows-application/138320)

<div class="topic-metadata">

**Author:** [@Tahir\_Khan](https://discuss.elastic.co/u/Tahir_Khan)\
**Replies:** 1\
**Last updated:** [July 4, 2018, 7:18am UTC](https://discuss.elastic.co/t/how-to-intergrate-apm-agent-with-dot-net-windows-application/138320 "2018-07-04T07:18:25Z")

</div>

how to integerate the apm agent with dot net windows application offline ?

---

## [APM agent integration to sharepoint pages](https://discuss.elastic.co/t/apm-agent-integration-to-sharepoint-pages/137991)

<div class="topic-metadata">

**Author:** [@EtienneDemers](https://discuss.elastic.co/u/EtienneDemers)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 7:53am UTC](https://discuss.elastic.co/t/apm-agent-integration-to-sharepoint-pages/137991 "2018-07-02T07:53:04Z")

</div>

Hi! I'm trying to get to monitor a sharepoint site. I've considered doing so by including the JS-node APM agent OR the JS-frontend APM agent in libraries in sharepoint and then embbedding the script using these librarie…

---

## [How can i log http response body in apm](https://discuss.elastic.co/t/how-can-i-log-http-response-body-in-apm/138114)

<div class="topic-metadata">

**Author:** [@umapati](https://discuss.elastic.co/u/umapati)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 7:32am UTC](https://discuss.elastic.co/t/how-can-i-log-http-response-body-in-apm/138114 "2018-07-02T07:32:37Z")

</div>

my current apm configuration is as follows: config.apm = { serviceName: 'MyService', secretToken: '', serverUrl: 'localhost:5601', captureBody: 'all', instrument: 'true', errorOnAbortedRequests: 'true' }; var ap…

---

## [Transaction.SetUser not working properly when populating username](https://discuss.elastic.co/t/transaction-setuser-not-working-properly-when-populating-username/137092)

<div class="topic-metadata">

**Author:** [@csong](https://discuss.elastic.co/u/csong)\
**Replies:** 4\
**Last updated:** [June 27, 2018, 5:08am UTC](https://discuss.elastic.co/t/transaction-setuser-not-working-properly-when-populating-username/137092 "2018-06-27T05:08:58Z")

</div>

Hi, I am using Elastic APM Java agent api. When I am calling transaction.setUser(userId, userEmail, userName) in my method, userId and email are properly showing in kibana. However, username is always shown as N/A and …

---

## [APM Server Offline Retention / Synchronization](https://discuss.elastic.co/t/apm-server-offline-retention-synchronization/137155)

<div class="topic-metadata">

**Author:** [@hayden.ball](https://discuss.elastic.co/u/hayden.ball)\
**Replies:** 3\
**Last updated:** [June 26, 2018, 12:44pm UTC](https://discuss.elastic.co/t/apm-server-offline-retention-synchronization/137155 "2018-06-26T12:44:57Z")

</div>

Hello. The APM system looks really promising, and I'm hoping we'll be able to use it to solve our needs. We've a slightly difficult situation as we've an app that runs in the cloud, but also on client operated site box…

---

## [How to integrate APM in Core Devices like switch, firewall logs](https://discuss.elastic.co/t/how-to-integrate-apm-in-core-devices-like-switch-firewall-logs/137358)

<div class="topic-metadata">

**Author:** [@Dinu](https://discuss.elastic.co/u/Dinu)\
**Replies:** 1\
**Last updated:** [June 26, 2018, 5:37am UTC](https://discuss.elastic.co/t/how-to-integrate-apm-in-core-devices-like-switch-firewall-logs/137358 "2018-06-26T05:37:40Z")

</div>

Hello All, Please let us know how to integrate APM in core Devices like Switch, Firewall etc by its log... Because we could see APM needs to be installed server and client node js and phython as client. Is there a way …

---

## [How can I remove a service?](https://discuss.elastic.co/t/how-can-i-remove-a-service/136904)

<div class="topic-metadata">

**Author:** [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Replies:** 1\
**Last updated:** [June 21, 2018, 3:46pm UTC](https://discuss.elastic.co/t/how-can-i-remove-a-service/136904 "2018-06-21T15:46:47Z")

</div>

I renamed a service and now I have the new name and the old name. How can I remove the old service name?

---

## [Difference in data captured by APM agent (6.2.3)](https://discuss.elastic.co/t/difference-in-data-captured-by-apm-agent-6-2-3/136604)

<div class="topic-metadata">

**Author:** [@umapati](https://discuss.elastic.co/u/umapati)\
**Replies:** 3\
**Last updated:** [June 21, 2018, 7:31am UTC](https://discuss.elastic.co/t/difference-in-data-captured-by-apm-agent-6-2-3/136604 "2018-06-21T07:31:05Z")

</div>

Hello team, I am using node.js APM agent to monitor my application. I noticed that the information captured in not consistent for similar consecutive requests. At times, it prints "result": "success", at other times, i…

---

## [APM install](https://discuss.elastic.co/t/apm-install/136100)

<div class="topic-metadata">

**Author:** [@CDR](https://discuss.elastic.co/u/CDR)\
**Replies:** 1\
**Last updated:** [June 16, 2018, 7:04am UTC](https://discuss.elastic.co/t/apm-install/136100 "2018-06-16T07:04:33Z")

</div>

My current usage of the Elastic stack requires that I keep the files needed to run Elasticsearch, Logstash and Kibana in a zipped file. When someone wishes to use my deployment they simply unzip it and run a batch script…

---

## [APM server behind nginx closes connection prematurely](https://discuss.elastic.co/t/apm-server-behind-nginx-closes-connection-prematurely/135624)

<div class="topic-metadata">

**Author:** [@Jorgen\_Ader](https://discuss.elastic.co/u/Jorgen_Ader)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 1:53pm UTC](https://discuss.elastic.co/t/apm-server-behind-nginx-closes-connection-prematurely/135624 "2018-06-13T13:53:05Z")

</div>

The problem: Apm agent starts getting 502 after payload seems to go over ~120kb, have not figured exact value yet. Http basic auth is used for elastic/kibana/apm (apm agents are ip whitelisted and use token) Nginx logs …

---

## [New PHP APM Agent - PHP devs please give me some feedback](https://discuss.elastic.co/t/new-php-apm-agent-php-devs-please-give-me-some-feedback/132577)

<div class="topic-metadata">

**Author:** [@frankkoornstra](https://discuss.elastic.co/u/frankkoornstra)\
**Replies:** 4\
**Last updated:** [June 7, 2018, 4:38pm UTC](https://discuss.elastic.co/t/new-php-apm-agent-php-devs-please-give-me-some-feedback/132577 "2018-06-07T16:38:09Z")

</div>

Hi there! In the last few weeks I've created a PHP Agent for the Elastic APM product and it would be great to get some feedback from the Elastic (APM) community on the interface and the developer experience. If you're a…

---

## [Django agent disable tracking some endpoints/methods](https://discuss.elastic.co/t/django-agent-disable-tracking-some-endpoints-methods/135025)

<div class="topic-metadata">

**Author:** [@ByEmke](https://discuss.elastic.co/u/ByEmke)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 3:20pm UTC](https://discuss.elastic.co/t/django-agent-disable-tracking-some-endpoints-methods/135025 "2018-06-07T15:20:28Z")

</div>

Hi there, Is there any way to instruct the agent not to track given endpoints/methods? e.g. We have /ping endpoints and some OPTIONS requests that are spamming the dashboards

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

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