Parameters into metrics quires
Is it possible to add parameters into metrics quires i.e in log search ?
example in log search :
_sourceCategory="/{{PARAM01}}/aws/microservice"
-
Official comment
Hi Niroshana,
Our product team is currently working on this capability as we speak. The goal of that effort is to bring templatization to metrics queries just like we have for log queries. It might take a few months for the development to finish.
Regards
Angad
Product Team, Sumo
Comment actions -
Hello Niroshana,
Yes, you can create Search Templates.
You can then share these search templates with other users so they can easily run queries just by entering the right values into the parameters.
Cheers,
Mario
-
Niroshana,
I misread your post - looks like you're looking for parameters for METRICS queries, rather than LOGS queries. The way to achieve this for metrics is to add your Metric query to a Dashboard. This achieves 2 things:
- You "Save" your query for future use and can now share your Dashboard with other users
- You can add filters to your Dashboard to "parametrize" your query
Thank Piotr and Łukasz for pointing this out.
Cheers!
Mario
Please sign in to leave a comment.
Comments
4 comments