Hello, I am new to elastic, I am having some problems with queries.
I would like to do a date-histogram aggregation like query, where I can specify a time interval and get count values, but for specific values of a field. For example, I want a counter that indicates how many times an ip appears in the field "src_ip" for each time interval, specifying start and end to the search windows. I don't know how to combine buckets to get this result.
I can do it on kibana, but I want to get a query to integrate in a python program, but I can't figure out how to do it.
You'll see this tabular view of the data. You can export the raw data here, but what we're interested is getting the Elasticsearch request, so click that
Kibana sometimes adds some extra "stuff" that you may not need, so you can search the Elasticsearch documentation on our website to see what things like this excludes thing under _source does.
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.