Problem with asset tag search
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2024 11:38 PM
When we search for this asset tag directly, no results are returned(There is no any space issue); however, when we search for the same asset with contains (*), the record is displayed. If we look at the discovery source of this record in the cmdb_ci table, we can see that it has a endpoint central , and this problem is not limited to this endpoint centeral discovery source but also others. Does anyone have an idea about this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 05:22 AM
The first thing I would do is look at the XML for the Asset and then check the 'asset_tag' field. Is there anything but the exact Asset tag between <asset_tag> & </asset_tag>?
<alm_hardware>
<acquisition_method>1</acquisition_method>
<asset_function/>
<asset_tag>MYASSET01483</asset_tag>
<assigned/>
<assigned_to/>
....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 08:58 AM
Hello Steve,
I have the same issue it contains space, the records are creating from the integrations. So could you please suggest what steps I need to take to solve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 10:31 PM
My first step would be to go to the provider of the integration and ask them to sanitize the data before sending it over.
If that can't be done, I'd suggest a couple of ideas depending on how it is integrated:
- Clean the data in the transform map before it gets processed.
- A before insert / update BR that cleans the data.