Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

dswarm/dswarm-es-fields-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

esfstats - elasticsearch fields statistics

esfstats is a Scala program wrapped in a shell script that runs with Ammonite*. It extracts some statistics re. field coverage in the documents.

*) i.e. you need to install Ammonite at your machine (and maybe Scala and Ivy as well)

Usage

esfstats --
        -host   hostname or IP of the elasticsearch instance
        -port   port of the native Elasticsearch transport protocol API
        -index  index name
        -type   document type
        -help   print this help

note: -- is required to delegate the parameters to the Scala script (otherwise they will be interpreted as Ammonite parameters)