From fb49a771809348347d4e0105b715d263415a18b0 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Fri, 7 Jan 2022 15:41:57 +0000 Subject: [PATCH] tweaking, json_batch transfer to hive --- bin/tped.sh | 2 +- docker/elk/logstash/dist/http_output.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/tped.sh b/bin/tped.sh index 5577bf00..cc5c7d01 100755 --- a/bin/tped.sh +++ b/bin/tped.sh @@ -29,7 +29,7 @@ for i in $myYMLS; do myITEMS+="$i $(echo $i | cut -d "." -f1 | tr [:lower:] [:upper:]) " done -myEDITION=$(dialog --backtitle "$myBACKTITLE" --menu "Select T-Pot Edition" 17 50 5 $myITEMS 3>&1 1>&2 2>&3 3>&-) +myEDITION=$(dialog --backtitle "$myBACKTITLE" --menu "Select T-Pot Edition" 17 50 10 $myITEMS 3>&1 1>&2 2>&3 3>&-) if [ "$myEDITION" == "" ]; then echo "Have a nice day!" diff --git a/docker/elk/logstash/dist/http_output.conf b/docker/elk/logstash/dist/http_output.conf index c727824b..7ba380c2 100644 --- a/docker/elk/logstash/dist/http_output.conf +++ b/docker/elk/logstash/dist/http_output.conf @@ -743,6 +743,7 @@ output { http_compression => true id => "${MY_HOSTNAME}" codec => "json" + format => "json_batch" url => "http://127.0.0.1:64305" }