# Not able to find node using nodeid

**URL:** <https://discourse.nodered.org/t/not-able-to-find-node-using-nodeid/7066>\
**Category:** General\
**Created:** [21 January 2019 00:46 UTC](https://discourse.nodered.org/t/not-able-to-find-node-using-nodeid/7066 "2019-01-21T00:46:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartikn](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@kartikn](https://discourse.nodered.org/u/kartikn)\
**Post date:** [21 January 2019 00:46 UTC](https://discourse.nodered.org/t/not-able-to-find-node-using-nodeid/7066/1 "2019-01-21T00:46:51Z")

</div>

Hi,  
I am trying to debug some performance issues with my nodered application and I have enabled "metrics" logging in the settings.js file. I am able to now see the [metric] logs in console logs. However, I am not able to match a log line with a particular node in my flows.

For example, I have this log line:  
20 Jan 17:52:31 - [metric] {"level":99,"nodeid":"cf30fe0c.d247a","event":"node.debug.receive","msgid":"62fba2b5.3b5adc","timestamp":1548028351475}

I am not able to find the node corresponding to nodeid "cf30fe0c.d247a" in my flows. I searched for this ID in the UI, using Ctrl-F and I also searched the "flows.json" file using a text editor.  
I can sometimes guess which node this message is for, and when I look at the node in the UI and in flows.json, that node has a different nodeid.

How can I find the nodes for such nodeids?

Note: I noticed that this behavior is inconsistent. That is, there are some nodeids in the logs that I am able to find using "Ctrl-F" and in the flows.json file.

Regards,  
Kartik N

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [21 January 2019 01:31 UTC](https://discourse.nodered.org/t/not-able-to-find-node-using-nodeid/7066/2 "2019-01-21T01:31:41Z")

</div>

Do you have any subflows? It could be the id of a debug node inside a subflow as they all get assigned unique ids when the subflow instance is started. If that is the case, we need to make that more obvious in the metric event.

---

<div class="post-metadata">

**Author:** ![kartikn](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@kartikn](https://discourse.nodered.org/u/kartikn)\
**Post date:** [21 January 2019 02:28 UTC](https://discourse.nodered.org/t/not-able-to-find-node-using-nodeid/7066/3 "2019-01-21T02:28:18Z")

</div>

Ah ok! Yes, I have subflows and these nodes could be within the subflows. It will really help if there is a way to tie the nodeid from "metrics" to a nodeid in the subflow.

Is there any way I can map the nodeid in the log to a node in the flow?

Thank you!!  
Kartik
