diff options
author | Silvan Jegen <s.jegen@gmail.com> | 2017-02-22 19:23:56 +0100 |
---|---|---|
committer | Silvan Jegen <s.jegen@gmail.com> | 2017-02-22 19:23:56 +0100 |
commit | 68c3940d1e49ac3cacab997a125f185216e80627 (patch) | |
tree | bae894c7b24a84c55d1d035989726ff6f24bdb2a | |
parent | b3b3812d9703ab083b12ee3376f9057c1accc0ec (diff) |
Add demo files
-rw-r--r-- | demohttp.cfg | 16 | ||||
-rw-r--r-- | demostdin.cfg | 13 | ||||
-rw-r--r-- | httpdemoinput.sh | 2 |
3 files changed, 31 insertions, 0 deletions
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 + |