Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request data from many projects #113

Open
okpoxa opened this issue Aug 25, 2023 · 0 comments
Open

request data from many projects #113

okpoxa opened this issue Aug 25, 2023 · 0 comments

Comments

@okpoxa
Copy link

okpoxa commented Aug 25, 2023

Hi
Now i do 20+ requests like this
[query_nginx_access_**projectXX**] QueryIndices = <filebeat-nginx-access-{now/d}> QueryJson = { "size": 0, "track_total_hits": true, "query": { "term" : { "tags.keyword" : "**projectXX**" } } }
the differences are only in specifying the project in the request and the name of the metric, is it possible to make a universal request so that the exporter gives a list of metrics with the metric taken from tags.keyword?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant