@@ -23,10 +23,6 @@ logstashConfig:
23
23
logstashPipeline :
24
24
logstash.conf : |
25
25
input {
26
- tcp {
27
- port => 5400
28
- codec => json
29
- }
30
26
beats {
31
27
port => 5044
32
28
}
@@ -38,11 +34,7 @@ logstashPipeline:
38
34
user => '$${ELASTICSEARCH_USERNAME}'
39
35
password => '$${ELASTICSEARCH_PASSWORD}'
40
36
index => "filebeat-%%{+yyyy.MM.dd}-000001"
41
- manage_template => true
42
- template => '/etc/elk/logstash-index-template.json'
43
- template_name => 'filebeat'
44
- template_overwrite => true
45
- action => "create"
37
+ manage_template => false
46
38
ssl => true
47
39
ssl_certificate_verification => false
48
40
cacert => '/etc/logstash/certificates/ca.crt'
@@ -52,28 +44,27 @@ logstashPipeline:
52
44
53
45
# https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html
54
46
55
- secrets :
56
- - name : " index-template"
57
- value :
58
- logstash-index-template.json : |
59
- {
60
- "index_patterns": ["filebeat-*"],
61
- "data_stream": {},
62
- "template": {
63
- "settings": {
64
- "index.refresh_interval": "5s",
65
- "index.mapping.total_fields.limit": 5000,
66
- "index.lifecycle.name": "filebeat-policy",
67
- "number_of_shards": 1,
68
- "number_of_replicas": 1
69
- }
70
- }
71
- }
72
-
73
- secretMounts :
74
- - name : logstash-index-template
75
- secretName : logstash-logstash-index-template
76
- path : /etc/elk
47
+ # secrets:
48
+ # - name: "index-template"
49
+ # value:
50
+ # logstash-index-template.json: |
51
+ # {
52
+ # "index_patterns": ["filebeat-*"],
53
+ # "template": {
54
+ # "settings": {
55
+ # "index.refresh_interval": "5s",
56
+ # "index.mapping.total_fields.limit": 5000,
57
+ # "index.lifecycle.name": "filebeat-policy",
58
+ # "number_of_shards": 1,
59
+ # "number_of_replicas": 1
60
+ # }
61
+ # }
62
+ # }
63
+ #
64
+ # secretMounts:
65
+ # - name: logstash-index-template
66
+ # secretName: logstash-logstash-index-template
67
+ # path: /etc/elk
77
68
78
69
extraPorts :
79
70
- name : beats
0 commit comments