AS 'test.page_view.ise.toppage' WHERE tags.logname = 'nginx_access' AND ( requri LIKE '/cgi-bin/top_menu.cgi%' OR requri LIKE '/cgi-bin/pop_top%.cgi%' OR requri LIKE '/cgi-bin/pop_up.cgi%' ) FACET tags.customer,mid AS xxx はメトリクス名にな る FACET は属性になる
{ name: "TEST page_view.ise.toppage_sum for analyze dashboard", description:"Created by KojW on 2024/02/20. Used by DCS.", nrql:"FROM Log SELECT summary(1) AS 'test.page_view.ise.toppage_sum' WHERE tags.logname = 'nginx_access' AND (requri LIKE '/cgi-bin/top_menu.cgi%' OR requri LIKE '/cgi-bin/pop_top%.cgi%' OR requri LIKE '/cgi-bin/pop_up.cgi%' ) FACET tags.customer,mid", accountId: 3570311 }) { successes { id name nrql enabled } failures { submitted { name nrql accountId } errors { reason description } } } }