Creating an object out of the regex

Hi all, is there a way of creating an object out of the regex and call that object to output as graph on the panel?

We want to graph the top pages of our sites (eg. wp-login, about and etc.) and the status code for the sites. We can only highlight the said lines, however, we couldn’t figure out how to output as part of the graph.

We tried the dashboards for nginx but not working out of the box

Thanks in advanced!