jms1
08/25/2025, 7:02 PM---
testing: %{trusted.certname}jms1
08/25/2025, 7:03 PMjms1
08/25/2025, 7:09 PM%{xxx} in the data ... what doesn't work is typos like %(xxx} ... sorry for wasting everybody's timejms1
08/25/2025, 7:13 PM%{trusted.certname} works, but %{facts.hostname} (for the "short" hostname) does not ... strangejms1
08/25/2025, 7:15 PM%{trusted.hostname} has what i need. i had forgotten that trusted had that in there.natemccurdy
08/25/2025, 7:21 PMfacts.hostname is a legacy fact.
trusted.hostname is definitely preferred, because that can't easily be spoofed. But for reference, I bet facts.networking.hostname would also work.jms1
08/25/2025, 7:24 PMfacter hostname on the target machine does return the machine's "short hostname"jms1
08/25/2025, 7:31 PM%{facts} to a data value to dump all of it ... you were right, facts.hostname is not there, but facts.networking.hostname is.bastelfreak
08/25/2025, 8:22 PM