Community Discussions

Ask a Question
Back to all

List of Unique Devices in the seen in the last 24 hours

Hello, I'm trying to get a list of all the unique devices seen in the last 24 hours using the Python SDK. When I utilize this Function -
armis_sdk.assets.list_by_last_seen(Device, datetime.timedelta(days=1))

I get a list of events that shows every time a device was seen in the last 24 hours. As you can imagine, that list is very large. I stopped it 45 min into execution and I had 80,000 records over 10 devices, and we have maybe 10,000 unique devices.

Is there a way to only get a list of the unique devices and information about those devices similar to what you'd see when you navigate to the Armis UI > Assets > Devices > Assets View?

Thanks,

Jake