Page 1 of 1

Retrieve community version posts

Published: January 15, 2020 - 3:43 PM
by upperm
Good morning,

A small but useful query to retrieve the machines with the Community version agent.

Code: Select all


SELECT h.uuid,h.computer_name,install_date::date,version,h.listening_timestamp::timestamp,name from hostsoftwares s
left join hosts h on h.uuid=s.host_id
where
 s.key='WAPT_is1'
 AND (name ilike 'WAPT%%Community%%' OR name ilike 'WAPT %%')

Sincerely,
Matthieu Courtois