From 68c3940d1e49ac3cacab997a125f185216e80627 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Wed, 22 Feb 2017 19:23:56 +0100 Subject: Add demo files --- demohttp.cfg | 16 ++++++++++++++++ demostdin.cfg | 13 +++++++++++++ httpdemoinput.sh | 2 ++ 3 files changed, 31 insertions(+) create mode 100644 demohttp.cfg create mode 100644 demostdin.cfg create mode 100644 httpdemoinput.sh diff --git a/demohttp.cfg b/demohttp.cfg new file mode 100644 index 0000000..5df32ad --- /dev/null +++ b/demohttp.cfg @@ -0,0 +1,16 @@ +input { + http { + prefix => "hello" + port => "8080" + } +} + +filter { + string { + "A" => "test/TEST" + } +} + +output { + stdout {} +} diff --git a/demostdin.cfg b/demostdin.cfg new file mode 100644 index 0000000..a6cfe45 --- /dev/null +++ b/demostdin.cfg @@ -0,0 +1,13 @@ +input { + stdin {} +} + +filter { + string { + "A" => "test/TEST" + } +} + +output { + stdout {} +} diff --git a/httpdemoinput.sh b/httpdemoinput.sh new file mode 100644 index 0000000..b520b12 --- /dev/null +++ b/httpdemoinput.sh @@ -0,0 +1,2 @@ +curl -d "{\"A\": \"test\"}" http://localhost:8080/hello + -- cgit v1.2.1-18-gbd029