clong
06/06/2023, 11:29 PM/fleet/hosts
endpoint? The UI shows the correct data but the API is returning blank values.clong
06/06/2023, 11:33 PM{
"version": "4.32.0",
"branch": "HEAD",
"revision": "9055564b0c1529bfa9b3a00df961bf6188ddf53b",
"go_version": "go1.20.1",
"build_date": "2023-05-24",
"build_user": "runner"
}
clong
06/06/2023, 11:37 PMRaghavendra Hiremath
06/07/2023, 9:59 AMclong
06/07/2023, 8:28 PMclong
06/07/2023, 8:42 PMclong
06/07/2023, 8:42 PMclong
06/07/2023, 8:43 PMLucas Rodriguez
06/08/2023, 2:36 PMclong
06/08/2023, 4:36 PMfleetctl package
to create the installer. how can I check?Lucas Rodriguez
06/08/2023, 5:00 PMLucas Rodriguez
06/08/2023, 5:04 PM/opt/orbit/bin/orbit/orbit --version
clong
06/08/2023, 5:04 PMclong
06/08/2023, 5:05 PMLucas Rodriguez
06/08/2023, 5:05 PMclong
06/08/2023, 5:08 PMfleetctl package
to create my package, is there a way i can find out the version of orbit being bundled in it somehow?Lucas Rodriguez
06/08/2023, 5:08 PMsudo vim /var/log/orbit/orbit.stderr.log
Lucas Rodriguez
06/08/2023, 5:09 PMIf I useNot easily, you can extract the package withto create my package, is there a way i can find out the version of orbit being bundled in it somehow?fleetctl package
pkgutil
. But if you are generating a package today then it will use latest version of all components (orbit - 1.10.0) by default.clong
06/08/2023, 5:10 PMclong
06/08/2023, 5:10 PMLucas Rodriguez
06/08/2023, 5:10 PMclong
06/08/2023, 5:11 PMclong
06/08/2023, 9:07 PMclong
06/08/2023, 9:08 PMclong
06/08/2023, 9:11 PMhost_identifier
?
cat /opt/orbit/osquery.flags
--host_identifier=hostname
--logger_snapshot_event_type=true
clong
06/08/2023, 9:22 PMclong
06/08/2023, 9:28 PM--host_identifier=uuid
and --flagfile /opt/orbit/osquery.flags
on the CLI. which will take priority? the CLI flag or the value in the flagfile? Are the orbit cli flags configurable?clong
06/08/2023, 9:36 PMAre the orbit cli flags configurable?NVM, I forgot I did this in our config:
---
apiVersion: v1
kind: config
spec:
agent_options:
command_line_flags:
host_identifier: hostname
logger_snapshot_event_type: true
Which is probably how they ended up in /opt/orbit/osquery.flags
Lucas Rodriguez
06/09/2023, 10:40 AM--host_identifier=hostname
will cause this issue you are seeing. Orbit currently works by running osquery with --host_identifier=uuid
(hardcoded).clong
06/09/2023, 2:21 PMclong
06/09/2023, 4:29 PMLucas Rodriguez
06/09/2023, 4:29 PMLucas Rodriguez
06/14/2023, 8:43 PM