다음은 라인 시작 위치의 @를 검사하는 정규표현식.

Easy to analyze if you are really curious about data
2020년 7월 27일 월요일
2020년 7월 19일 일요일
2020년 7월 9일 목요일
2020년 7월 1일 수요일
Logstash 필터 grok - 2nd
이런 저런 데이터 작업을 하다 보면 신규 필드 만들면서 원본 필드를 overwrite 하고 싶을 때가 있다. 다음은 테스트 설정.
input {
file {
path => "d:/test.log"
start_position => "beginning"
sincedb_path => "nul"
}
}
output {
stdout {}
}
피드 구독하기:
글 (Atom)