create_volumes.sh 300 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
#!/bin/env bash

# Remove everything in the data dir
rm -rf ./data/*

# Extract initial index. This allows us to use a predefined kibana dashboard
tar xzf elk_base.tar.gz -C ./data

# Extract initial data. This allows us to use a predefined grafana dashboard
tar xf grafana-storage.tar.xz -C ./data