Skip to content

simple elasticsearch client, use it to get log in a range date (day or hour)

Notifications You must be signed in to change notification settings

kayservince/elastic-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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>

About

simple elasticsearch client, use it to get log in a range date (day or hour)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages