add script to quickly check last indexed actions from bash

This commit is contained in:
Igor Lins e Silva
2020-03-14 22:08:41 -03:00
parent 03854af471
commit 28f149b4d7
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
curl -Ssf "http://$1/$2-action-*/_search?size=$3&sort=block_num:desc" | jq '.hits.hits[]._source | [.["@timestamp"
],.block_num,.act.account,.act.name] | @tsv' -r