Forum Discussion

xiambi's avatar
8 years ago
Solved

Need to search all of my devices

Hello,

I am trying to search all of my devices for a specific model. 

Is there any easy way in LM to search for a string or regex / glob??

 

  • Hi Xiambi,

    If the specific model information you are looking for is included in the system.sysinfo property, you can:

    1) Use the Device Inventory report for all devices and the system.sysinfo property, and sort by system.sysinfo value.  This enables you to quickly see all devices grouped by system.sysinfo value.

    2) Use our REST API to get devices that have a specific string in the system.sysinfo value.  E.g. get all devices that have 'Cisco' in the system.sysinfo.

    Let me know if this solves your issue.

    Thanks!

    Sarah

1 Reply

Replies have been turned off for this discussion
  • Sarah_Terry's avatar
    Sarah_Terry
    Icon for Product Manager rankProduct Manager

    Hi Xiambi,

    If the specific model information you are looking for is included in the system.sysinfo property, you can:

    1) Use the Device Inventory report for all devices and the system.sysinfo property, and sort by system.sysinfo value.  This enables you to quickly see all devices grouped by system.sysinfo value.

    2) Use our REST API to get devices that have a specific string in the system.sysinfo value.  E.g. get all devices that have 'Cisco' in the system.sysinfo.

    Let me know if this solves your issue.

    Thanks!

    Sarah