Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 386 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 386 Bytes

elastic-cli

Simple elasticsearch client (Very Simple), you can use it to get logs in a range date (day or hour) for a specfic index.

Python 3, test with Elasticsearch version 6 & 7, I use the default port for Elasticsearch.

run pip3 install elasticsearch (client library for es)

Usage sample : python escli.py --index <nom_index> --fieldname <timestamp|date> --period <hour|day>