.es function parameters

The .es function is used to pull the data from the Elasticsearch instance. The .es function can have multiple parameters and each parameter has a name that can be set inside the parentheses to set the value of that property. The parameter also has an order and we must follow the order to run the expression. If we skip the name of the parameter, Timelion will automatically assign the name as per the chosen order for the values. Now, let's speak about the parameters:

.es(q=*)
.es(q=country:de)
.es(index=metricbeat-*)
.es(q='some query', index=logstash-*)
.es(metric=min:system.process.name)
.es(split=country:4, metric=sum:bytes)
.es(offset=-1w)