using this input:
input { udp { port => 2055 codec => netflow } }
and stdout:
"@timestamp" => 2019-12-10T11:48:02.921Z,
"netflow" => {
"input_snmp" => 0,
"ipv4_dst_addr" => "77.12.190.94",
"output_snmp" => 0,
"dst_mask" => 30,
"engine_id" => 0,
"ipv4_src_addr" => "10.154.20.12",
"tcp_flags" => 0,
"protocol" => 6,
"l4_src_port" => 9010,
"in_pkts" => 316,
"version" => 5,
"last_switched" => "2019-12-10T11:48:02.708Z",
"flow_seq_num" => 10,
"src_tos" => 0,
"dst_as" => 29576,
"first_switched" => "2019-12-10T11:48:02.315Z",
"l4_dst_port" => 3306,
"flow_records" => 16,
"src_mask" => 23,
"sampling_algorithm" => 0,
"sampling_interval" => 0,
"ipv4_next_hop" => "150.20.145.1",
"engine_type" => 1,
"src_as" => 55858,
"in_bytes" => 228
},
"host" => "172.17.0.2",
"@version" => "1"
}
Now, when I try to use fields to access this content, it doesn't work, and when I try to use filters to access or alter the content, it doesn't work. I am under the impression that all content is imported and stored in the "message" variable, however, when I try to access this variable it is empty. Clearly the content is there or stdout wouldn't ouput anything, so... what is or how do I determine the variable where the content is actually stored so I can access it?
P.S. Apparently code and quote blocks are both not working on this post, so sorry for the janky format on the code.