diff options
-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 + |