2

MQTT collector add filtering to exclude long string

Our historian is connected to a MQTT broker. In that broker we use a UNS type database structure. One of the tags was a long json string. We have been experiencing crashes, which have now been allocated to the use of too long strings.

Would it be possible to filter out tang long strings to make the database more dummy proof and reliable?

5 replies

null
    • smason
    • 2 days ago
    • Reported - view

    Hi ,

    The tag name itself is a long json string, or the values coming in for a tag are long json strings?

    If the tag name is a long json string you have 2 options:

    1. If you have Automatically Log All Tags enabled, you can create a filter to include or exclude certain tags using keywords and Regular Expression rules. It's important to note that if you add a filter, it won't apply to any tag that is already logging, it would only apply to new tags as they arrive. Tag settings are "sticky". If you want to apply settings to tags that are already logging, you would need to select the Tags table from the connection group and DELETE ALL tags.


      This must be done when the session is disabled. When you go to reenable the session, the Tags table will repopulate and only enable the tags that adhere to the filter. The tag would still exist in the historian, but you could obsolete it manually at that point.
    2. If you disable Automatically Log All Tags, you can manually select which tags from the Tags table you want to enable. Again, the json string tag would still appear in the historical archive even after the update, but you could manually obsolete it.
      • joeri_indenkleef
      • yesterday
      • Reported - view

      Hi  It's about the values and not the names. 

      • smason
      • yesterday
      • Reported - view

       OK. We don't have a way to filter out the value coming across. 

      • joeri_indenkleef
      • yesterday
      • Reported - view

       That's why it's an idea.

      • smason
      • yesterday
      • Reported - view

      Sometimes I forget which section of the Help Center I am in 😵. Thanks for the feature request!

Content aside

print this pagePrint this page
  • 2 Votes
  • yesterdayLast active
  • 5Replies
  • 14Views
  • 4 Following