如何在logstash中将时间格式转换为时间格式
How to convert time to time format in logstash
我想问一下如何在logstash中转换以下时间格式。
9:48:42 to 09:48:42
9:8:42 to 09:08:42
9:48:2 to 09:48:02
9:8:2 to 09:08:02
感谢您的回答
我已经用这种方法解决了我的问题;
Creating input codec plugin and check if it starts without "0" then
put it in front of the message (event) with ruby
我想问一下如何在logstash中转换以下时间格式。
9:48:42 to 09:48:42
9:8:42 to 09:08:42
9:48:2 to 09:48:02
9:8:2 to 09:08:02
感谢您的回答
我已经用这种方法解决了我的问题;
Creating input codec plugin and check if it starts without "0" then put it in front of the message (event) with ruby