blob: 921ec7dba1a39a55f1a09851e8f8baa4d7049705 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
apiVersion: logstash.k8s.elastic.co/v1alpha1
kind: Logstash
metadata:
name: log-storage
spec:
count: 1
elasticsearchRefs:
- name: log-storage
clusterName: default
version: 8.14.1
pipelines:
- pipeline.id: main
config.string: |
input {
beats {
port => 5044
}
}
output {
elasticsearch {
hosts => [ "${DEFAULT_ES_HOSTS}" ]
user => "${DEFAULT_ES_USER}"
password => "${DEFAULT_ES_PASSWORD}"
ssl_certificate_authorities => "${DEFAULT_ES_SSL_CERTIFICATE_AUTHORITY}"
}
}
services:
- name: beats
service:
spec:
type: NodePort
ports:
- port: 5044
name: "filebeat"
protocol: TCP
targetPort: 5044
|