Skip to content

Instantly share code, notes, and snippets.

@kosho
Created April 13, 2017 05:52
Show Gist options
  • Save kosho/5e9dd80005bbba778f4a1262379cc263 to your computer and use it in GitHub Desktop.
Save kosho/5e9dd80005bbba778f4a1262379cc263 to your computer and use it in GitHub Desktop.
T="T"
for d in `seq -f "%02g" 1 30`; do
for m in `seq -f "%02g" 0 23`; do
for h in `seq -f "%02g" 0 59`; do
echo "{\"index\" : {} }"
echo "{\"@timestamp\": \"2016-04-$d$T$m:$h:00Z\", \"status\": 100}"
done
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment