각 줄 끝에 증가하는 숫자를 추가하고 싶다.
페이지
▼
2020년 8월 30일 일요일
2020년 8월 27일 목요일
2020년 8월 23일 일요일
2020년 8월 12일 수요일
Logstash의 escaped character
다음은 message 필드만 남기는 파이프라인 설정.
input {
file {
path => "d:/test.log"
start_position => "beginning"
sincedb_path => "nul"
}
}
filter {
mutate { remove_field => [ "@timestamp", "@version", "path", "host" ] }
}
output {
stdout {}
}