# How do we figure out if APM agent in node.js is capturing & Sending data to ElasticSearch for Successful transactions?

**URL:** <https://discuss.elastic.co/t/how-do-we-figure-out-if-apm-agent-in-node-js-is-capturing-sending-data-to-elasticsearch-for-successful-transactions/112626>\
**Category:** APM\
**Created:** [December 20, 2017, 11:35am UTC](https://discuss.elastic.co/t/how-do-we-figure-out-if-apm-agent-in-node-js-is-capturing-sending-data-to-elasticsearch-for-successful-transactions/112626 "2017-12-20T11:35:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramprasadgv](https://avatars.discourse-cdn.com/v4/letter/r/eada6e/32.png) [@Ramprasadgv](https://discuss.elastic.co/u/Ramprasadgv)\
**Post date:** [December 20, 2017, 11:35am UTC](https://discuss.elastic.co/t/how-do-we-figure-out-if-apm-agent-in-node-js-is-capturing-sending-data-to-elasticsearch-for-successful-transactions/112626/1 "2017-12-20T11:35:57Z")

</div>

Hi,

I have an APM agent for Node.js installed on Linux and its corresponding APM server is configured in Windows along with ElasticSearch and Kibana 5.5.  
At present, I can see only error related fields from APM index displaying information (Only Error related data like APM Error, APM ErrorDetails are captured).  
Do we have to make any changes in order to display the data for Successful requests and transactions ?

Thanks,  
Ramprasad

---

<div class="post-metadata">

**Author:** ![roncohen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roncohen/32/22881_2.png) [@roncohen](https://discuss.elastic.co/u/roncohen)\
**Post date:** [December 23, 2017, 9:12pm UTC](https://discuss.elastic.co/t/how-do-we-figure-out-if-apm-agent-in-node-js-is-capturing-sending-data-to-elasticsearch-for-successful-transactions/112626/2 "2017-12-23T21:12:46Z")

</div>

Hi Ramprasad,

You might need to configure your Node.js application differently. Do you use a Express, Hapi or Koa in your application?

---

<div class="post-metadata">

**Author:** ![Ramprasadgv](https://avatars.discourse-cdn.com/v4/letter/r/eada6e/32.png) [@Ramprasadgv](https://discuss.elastic.co/u/Ramprasadgv)\
**Post date:** [January 8, 2018, 1:05pm UTC](https://discuss.elastic.co/t/how-do-we-figure-out-if-apm-agent-in-node-js-is-capturing-sending-data-to-elasticsearch-for-successful-transactions/112626/3 "2018-01-08T13:05:20Z")

</div>

Hi Roncohen,

Thanks for your reply.  
We are using Loopback in our application and I believe loopback is based on Express.  
Do we have any specific approach to configure this in Node.js ? Please suggest.

---

<div class="post-metadata">

**Author:** ![roncohen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roncohen/32/22881_2.png) [@roncohen](https://discuss.elastic.co/u/roncohen)\
**Post date:** [January 11, 2018, 3:22pm UTC](https://discuss.elastic.co/t/how-do-we-figure-out-if-apm-agent-in-node-js-is-capturing-sending-data-to-elasticsearch-for-successful-transactions/112626/4 "2018-01-11T15:22:37Z")

</div>

> [@Ramprasadgv](#):
>
> Do we have any specific approach to configure this in Node.js ?

As mentioned here [Does APM support loopback?](https://discuss.elastic.co/t/does-apm-support-loopback/112624) we don't have built-in support for Loopback yet. Your best bet at the moment is to try and use the Node.js Agent API to set it up: [Get started with a custom Node.js stack | APM Node.js Agent Reference [4.x] | Elastic](https://www.elastic.co/guide/en/apm/agent/nodejs/current/custom-stack.html#custom-stack-route-naming)

best,  
Ron Cohen

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 1, 2018, 11:23am UTC](https://discuss.elastic.co/t/how-do-we-figure-out-if-apm-agent-in-node-js-is-capturing-sending-data-to-elasticsearch-for-successful-transactions/112626/5 "2018-02-01T11:23:23Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
