I'm trying to use the metricbeat prometheus module to run a query like :
query: 'match' : 'sum(increase(unix_bytes[5m])) by (process)'
however I get an error "Unable to decode response from prometheus endpoint". Am I kidding myself that I'm gonna be able to execute this type of query?
Secondly in the prometheus module does the
period: 300s directive tell metricbeat to query the last 5m or do I need to do that in the query? The module is pretty sparsely documented!