From 8a6aaabc41f83353bacb03f1b082debd304693d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mustafa=20Ak=C4=B1n?= Date: Fri, 3 Jul 2020 15:55:08 +0300 Subject: [PATCH] Add stdout example #59 --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 35eeba2..e601f5f 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,23 @@ receivers: layout: # Optional ``` +### Stdout + +Standard out is also another file in Linux. You can use the following configuration as an examplee: + +```yaml +logLevel: error +logFormat: json +route: + routes: + - match: + - receiver: "dump" +receivers: + - name: "dump" + file: + path: "/dev/stdout" +``` + ### Kafka Kafka is a popular tool used for real-time data pipelines. You can combine it with other tools for further analysis. @@ -308,4 +325,3 @@ receivers: - Splunk - Redis - Logstash -- Console