Hello !
I have the following data :
<188>Nov 25 07:38:31 172.28.192.111 ts-swsan-p11 raslogd: 2021/11/25-07:38:31, [MAPS-1003], 28921, WWN 10:00:88:94:71:c4:c0:e0 | FID 128, WARNING, ts-swsan-p11, SW11_TS_VPLEX_P01_E1B2FC01, F-Port 28, Condition=ALL_PORTS(DEV_LATENCY_IMPACT==IO_PERF_IMPACT), Current Value:[DEV_LATENCY_IMPACT, IO_PERF_IMPACT, (10 ms Frame Delay) ], RuleName=defALL_PORTS_IO_PERF_IMPACT_UNQUAR, Dashboard Category=Fabric Performance Impact.
<190>Nov 25 07:39:31 172.28.192.111 ts-swsan-p11 raslogd: 2021/11/25-07:39:31, [MAPS-1004], 28922, WWN 10:00:88:94:71:c4:c0:e0 | FID 128, INFO, ts-swsan-p11, SW11_TS_VPLEX_P01_E1B2FC01, F-Port 28, Condition=ALL_PORTS(DEV_LATENCY_IMPACT==IO_LATENCY_CLEAR), Current Value:[DEV_LATENCY_IMPACT, IO_LATENCY_CLEAR], RuleName=defALL_PORTS_IO_LATENCY_CLEAR, Dashboard Category=Fabric Performance Impact.
And the following pipeline :
filter
{
csv {
skip_empty_columns => true
autogenerate_column_names => false
columns => ["syslog_header","maps","to_define","switch_WWN","severity","device_name","port_name","port_number","condition","current_value","log_type","frame_delay","rule_name","dashboard_category"]
}
}
In the second line of log, the one starting with <190>, the field (10 ms Frame Delay) ] is missing. And so, the parsing is shifted :
I have this :
frame_delay => RuleName=defALL_PORTS_IO_LATENCY_CLEAR
Instead of this :
frame_delay =>
rule_name => RuleName=defALL_PORTS_IO_LATENCY_CLEAR
I tried skip_empty_columns => true but the field is not parsed as empty so it looks like this is not the solution
Any way to figure this out ?
Thanks !