---
title: "How to add the netprobe name or netprobe port number as part of the filename?"
description: "The netprobe name or port number can be included in filenames by defining a variable in Manage Entities or Environment Section. This variable, set to macro, netprobeName, or netprobePort, can then be used as part of the filename."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004027949-geneos-how-to-add-the-netprobe-name-or-netprobe-port-number-as-part-of-the-filename/index.html"
---
**Basically, you can define a variable either in "Manage Entities" or "Environment Section" and set its value to marco, netprobeName or netprobePort. Then you can use that variable as part of the filename.**

![Geneos - How to add the netprobe name or netprobe port number as part of the filename?](https://docscdn.itrsgroup.com/faq/images/geneos/115004027949-remote-036-ME-port-87ce8cb7d835.png)

![Geneos - How to add the netprobe name or netprobe port number as part of the filename?](https://docscdn.itrsgroup.com/faq/images/geneos/115004027949-remote-037-fkm-netprobeport-25655739de5c.png)

![Geneos - How to add the netprobe name or netprobe port number as part of the filename?](https://docscdn.itrsgroup.com/faq/images/geneos/115004027949-remote-038-port-number-118d68d90da1.png)

![Geneos - How to add the netprobe name or netprobe port number as part of the filename?](https://docscdn.itrsgroup.com/faq/images/geneos/115004027949-remote-039-dv-53efd5dd0d17.png)


