I am using a pipeline connected to a .csv document, to create a new field in my windows logs on Graylog. As you can see from the screenshot, I can see the field in every log, but when I click on "show top values" to create a new widget, Graylog doesn't show anything.
I think this happens because the value in the field is not a string, in fact it's between curly brackets. The problem is that I can't find a way to show these values in a widget. I tried changing my pipeline rule but I had no results.
The following is one of the many attempts I made with the rule:
rule "eventid_windows_rule"
when
has_field("winlogbeat_winlog_event_id")
then
let winlogbeat_winlog_italiano = lookup("eventid_widget_windows_lookup", ($message.winlogbeat_winlog_event_id));
set_field("winlogbeat_winlog_ita", to_string(winlogbeat_winlog_italiano));
end
Screenshot: