https://github.com/osquery/osquery logo
Title
p

Perk

11/19/2019, 8:01 PM
I recently changed the host identifier for my fleet, and I got quite a few duplicates kicked up. Is there a way to 'clear' all hosts where status == 'offline'?
z

zwass

11/19/2019, 8:05 PM
This is a new feature in 2.4.0! Take a look in "Advanced Options" of "App Settings" and you can configure automatic expiration of hosts that haven't checked in over some amount of time. Requires the event scheduler to be enabled in MySQL.
p

Perk

11/19/2019, 8:16 PM
Excellent, I need to pay attention to new releases. Thanks!
f

FG

11/19/2019, 10:27 PM
@Perk I had asked this question earlier but got no reply. did you change from the default of hostname to something you explicitly set by flags like uuid?
p

Perk

11/19/2019, 10:56 PM
Yep
f

FG

11/19/2019, 10:56 PM
cool thanks