apiVersion: beat.k8s.elastic.co/v1beta1 kind: Beat metadata: name: journalbeat spec: type: journalbeat version: 7.12.0 elasticsearchRef: name: elasticsearch config: journalbeat.inputs: - paths: [] seek: cursor cursor_seek_fallback: tail processors: - add_cloud_metadata: {} - add_host_metadata: {} daemonSet: podTemplate: spec: automountServiceAccountToken: true # some older Beat versions are depending on this settings presence in k8s context dnsPolicy: ClusterFirstWithHostNet containers: - name: journalbeat volumeMounts: - mountPath: /var/log/journal name: var-journal - mountPath: /run/log/journal name: run-journal - mountPath: /etc/machine-id name: machine-id hostNetwork: true # Allows to provide richer host metadata securityContext: runAsUser: 0 terminationGracePeriodSeconds: 30 volumes: - hostPath: path: /var/log/journal name: var-journal - hostPath: path: /run/log/journal name: run-journal - hostPath: path: /etc/machine-id name: machine-id --- apiVersion: elasticsearch.k8s.elastic.co/v1 kind: Elasticsearch metadata: name: elasticsearch spec: version: 7.12.0 nodeSets: - name: default count: 3 config: node.store.allow_mmap: false --- apiVersion: kibana.k8s.elastic.co/v1 kind: Kibana metadata: name: kibana spec: version: 7.12.0 count: 1 elasticsearchRef: name: elasticsearch ...