I have a working search consisting of the first 3 lines of this:
= Search(using=client, index="exchange-*")
.query("match", type="iis")
.filter("range", ** {'@timestamp': {'gte': 'now-1440m', 'lt': 'now'}})
.exclude("match", geoip.country_name="United States")
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.