Created
October 22, 2022 07:20
-
-
Save b44rawat/2eed1f5ea4b907499fa904461a654cf1 to your computer and use it in GitHub Desktop.
Coralogix & filebeat integration for o365 Logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: filebeat-configmap | |
namespace: kube-system | |
labels: | |
k8s-app: filebeat | |
data: | |
filebeat.yml: |- | |
filebeat.config: | |
modules: | |
path: ${path.config}/modules.d/*.yml | |
reload.enabled: false | |
processors: | |
- drop_fields: | |
fields: ["input", "beat_host", "ecs", "agent", "tags", "offset"] | |
ignore_missing: true | |
fields_under_root: true | |
fields: | |
PRIVATE_KEY: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | |
COMPANY_ID: XXXXX | |
APP_NAME: "XXXXX" | |
SUB_SYSTEM: "XXXXXXX" | |
output.logstash: | |
enabled: true | |
hosts: ["logstashserver.coralogix.com:5044"] | |
max_retries: 5 | |
timeout: 60s | |
backoff.max: 120s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment