I have a below query that fails:
result = swis.query("SELECT HostName, IPAddress, MACAddress, ConnectedTo, PortNumber, PortName, VLAN, MACVendor, NodeID, FirstSeen " \
"FROM Orion.UDT.AllEndpoints " \
"WHERE ipAddress LIKE '{0}' " \
"OR Hostname LIKE '{0}%' " \
"OR MACAddress LIKE '{0}'".format(query))
print(result)I get an error: "Cannot resolve property FirstSeen"
If I remove 'FirstSeen' from the SELECT line, it works. I ran the same query on the Database Manager GUI on Orion and it works. Any reason why this is not working?
I am using Python to run the query.
Orion OS ver: 10.0.14393.0 / Windows Server 2016