I’m using a lookup table with MAC Addresse and AP Names.
I don’t understand why my extractor is missing everything.
I have a pipeline that process those message first, and then I expect my extractor to extract and add a field with the associated value from the lookup table.
I was able to use a rule in my pipeline instead of that extractor.
rule "Convert BSSID to DeviceName"
when
has_field("bssid")
then
let name = lookup_value("unifi-device-name", $message.bssid);
set_field("DeviceName", name);
end
using extractors or processing pipelines is the better idea - depending on your processing order some information might not be given for the other system. As extractors might run before the processing pipelines.