#!/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