# WildCards in Tag Paths, Gateway Events Tag Change

**URL:** <https://forum.inductiveautomation.com/t/wildcards-in-tag-paths-gateway-events-tag-change/48193>\
**Category:** Ignition\
**Tags:** ignition80, scripting\
**Created:** [June 25, 2021, 3:49am UTC](https://forum.inductiveautomation.com/t/wildcards-in-tag-paths-gateway-events-tag-change/48193 "2021-06-25T03:49:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hayden](https://avatars.discourse-cdn.com/v4/letter/h/91b2a8/32.png) [@hayden](https://forum.inductiveautomation.com/u/hayden)\
**Post date:** [June 25, 2021, 3:49am UTC](https://forum.inductiveautomation.com/t/wildcards-in-tag-paths-gateway-events-tag-change/48193/1 "2021-06-25T03:49:18Z")

</div>

Hey all,  
I’m attempting to use Tag Change Gateway events with the MQTT Engine Module.

Essentially we have several devices that communicate their data via MQTT and we want a log of how many signals we receive per hour. I’ve written a script to gather these and count them up.

The Ignition Manual says the Tag Paths can have wildcards  
[MQTT Engine]application/4/device/xxxxxxxxxx/rx/\* works fine, and can pull in a tag.

But I want a wild card in the directory itself as we may add many instruments later and I don’t want to manually add all of their names individually if possible  
[MQTT Engine]application/4/device/+/rx/+  
Note: I replaced the \* with a + in this example as it italicizes

But this doesn’t seem to work, is there any work around people have

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 25, 2021, 11:51am UTC](https://forum.inductiveautomation.com/t/wildcards-in-tag-paths-gateway-events-tag-change/48193/2 "2021-06-25T11:51:25Z")

</div>

The wildcard only works at the end of the tag path.
