Skip to content

Commit 86a7f80

Browse files
updating not tested code
1 parent 032acc2 commit 86a7f80

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

APPLICATIONS/springboot-k8-ngnix-elk/kubernates/ngix-logstash-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ data:
77
http.host: "0.0.0.0"
88
path.config: /usr/share/logstash/pipeline
99
logstash.conf: |
10+
input {
11+
1012
file {
1113
path => "/var/log/nginx/*.log"
1214
codec => multiline {

APPLICATIONS/springboot-k8-ngnix-elk/kubernates/service-logstash-config.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@ data:
77
http.host: "0.0.0.0"
88
path.config: /usr/share/logstash/pipeline
99
logstash.conf: |
10-
10+
input {
11+
1112
file {
1213
path => "/var/log/*.log"
13-
codec => multiline {
14-
pattern => "^%{YEAR}-%{MONTHNUM}-%{MONTHDAY} %{TIME}.*"
15-
negate => "true"
16-
start_position => beginning
17-
}
14+
start_position => "beginning"
1815
}
1916
2017
filter {

0 commit comments

Comments
 (0)