Files
2020-03-14 22:08:41 -03:00

4 lines
175 B
Bash

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