固定格式为:一行Timestamp开头,一行Message开头,一行------------,现在需要过滤掉-------------这行,且Timestamp和Message合并成同行,一直写filebeat脚本都不行,求大神相助。
Timestamp: 2019-09-11 12:15:34,129
Message: TaskSchedulingThreadPool configured with max concurrency of 10 and TaskScheduler ThreadPoolTaskScheduler.
--------------------------------------------------------------------------
Timestamp: 2019-09-11 12:15:34,176
Message: Batch acquisition of 0 triggers
--------------------------------------------------------------------------
Timestamp: 2019-09-11 12:15:34,192
Message: Batch acquisition of 1 triggers
--------------------------------------------------------------------------
Timestamp: 2019-09-11 12:15:34,129
Message: TaskSchedulingThreadPool configured with max concurrency of 10 and TaskScheduler ThreadPoolTaskScheduler.
--------------------------------------------------------------------------
Timestamp: 2019-09-11 12:15:34,176
Message: Batch acquisition of 0 triggers
--------------------------------------------------------------------------
Timestamp: 2019-09-11 12:15:34,192
Message: Batch acquisition of 1 triggers
--------------------------------------------------------------------------
2 个回复
stone_xy
赞同来自:
输出如下:
zqc0512 - andy zhou
赞同来自: