aboutsummaryrefslogtreecommitdiff
path: root/tri-import-batch
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-04-07 13:02:41 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-04-07 13:02:41 +0200
commit9eb76adec8d6a6f15a461da7c5e1e6920a92105a (patch)
tree42b4759b463edb2c76bcdd94077ac0acc3b95da1 /tri-import-batch
parent384817a40c541ee48da3bdb5f88508fe871acf38 (diff)
downloadwifi-triangulator-9eb76adec8d6a6f15a461da7c5e1e6920a92105a.tar.gz
wifi-triangulator-9eb76adec8d6a6f15a461da7c5e1e6920a92105a.tar.bz2
wifi-triangulator-9eb76adec8d6a6f15a461da7c5e1e6920a92105a.tar.xz
wifi-triangulator-9eb76adec8d6a6f15a461da7c5e1e6920a92105a.zip
o Better logging.
Diffstat (limited to 'tri-import-batch')
-rwxr-xr-xtri-import-batch8
1 files changed, 8 insertions, 0 deletions
diff --git a/tri-import-batch b/tri-import-batch
new file mode 100755
index 0000000..ab4171c
--- /dev/null
+++ b/tri-import-batch
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+(
+echo "# DML"
+echo "# CONTEXT-DATABASE: tri"
+
+cat -
+) | influx -database tri -import -path /dev/stdin