{"id":"lens-nginx-p95-rt","type":"lens","references":[{"type":"index-pattern","name":"indexpattern-datasource-layer-layer_nginx","id":"filebeat-data-view"}],"attributes":{"title":"Nginx p95 rt (s)","visualizationType":"lnsXY","state":{"query":{"language":"kuery","query":"service : \"nginx\" and log_type : \"access\""},"filters":[],"datasourceStates":{"indexpattern":{"layers":{"layer_nginx":{"columns":{"x_time":{"label":"@timestamp","dataType":"date","operationType":"date_histogram","sourceField":"@timestamp","isBucketed":true,"params":{"interval":"auto"}},"p95_rt":{"label":"p95(rt)","dataType":"number","operationType":"percentile","sourceField":"rt","isBucketed":false,"params":{"percentile":95}}},"columnOrder":["x_time","p95_rt"]}}}},"visualization":{"legend":{"isVisible":true,"position":"right"},"valueLabels":"hide","fittingFunction":"None","axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":false},"labelsOrientation":{"x":0,"yLeft":0,"yRight":0},"gridlinesVisibilitySettings":{"x":false,"yLeft":false,"yRight":false},"preferredSeriesType":"line","layers":[{"layerId":"layer_nginx","seriesType":"line","xAccessor":"x_time","accessors":["p95_rt"],"yConfig":[]}]}},"title":"Nginx p95 rt (s)"}}
{"id":"lens-nginx-requests-by-upstream","type":"lens","references":[{"type":"index-pattern","name":"indexpattern-datasource-layer-layer_up","id":"filebeat-data-view"}],"attributes":{"title":"Nginx requests by upstream (last 15m)","visualizationType":"lnsXY","state":{"query":{"language":"kuery","query":"service : \"nginx\" and log_type : \"access\""},"filters":[],"datasourceStates":{"indexpattern":{"layers":{"layer_up":{"columns":{"x_time":{"label":"@timestamp","dataType":"date","operationType":"date_histogram","sourceField":"@timestamp","isBucketed":true,"params":{"interval":"auto"}},"by_up":{"label":"up_addr","dataType":"string","operationType":"terms","sourceField":"up_addr","isBucketed":true,"params":{"size":5,"orderBy":{"type":"column","columnId":"count_col"},"orderDirection":"desc"}},"count_col":{"label":"Count","dataType":"number","operationType":"count","isBucketed":false,"sourceField":"*"}},"columnOrder":["x_time","by_up","count_col"]}}}},"visualization":{"legend":{"isVisible":true,"position":"right"},"valueLabels":"hide","fittingFunction":"None","axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":false},"labelsOrientation":{"x":0,"yLeft":0,"yRight":0},"gridlinesVisibilitySettings":{"x":false,"yLeft":false,"yRight":false},"preferredSeriesType":"bar","layers":[{"layerId":"layer_up","seriesType":"bar","xAccessor":"x_time","splitAccessor":"by_up","accessors":["count_col"],"yConfig":[]}]}},"title":"Nginx requests by upstream (last 15m)"}}
{"id":"dashboard-nginx-lens","type":"dashboard","references":[{"type":"lens","name":"panel_p95","id":"lens-nginx-p95-rt"},{"type":"lens","name":"panel_up","id":"lens-nginx-requests-by-upstream"}],"attributes":{"title":"HTTP Performance (Lens)","description":"Lens views for Nginx: p95 latency and requests by upstream.","panelsJSON":"[{\"version\":\"8.13.4\",\"type\":\"lens\",\"panelIndex\":\"1\",\"gridData\":{\"x\":0,\"y\":0,\"w\":24,\"h\":15,\"i\":\"1\"},\"embeddableConfig\":{},\"id\":\"lens-nginx-p95-rt\"},{\"version\":\"8.13.4\",\"type\":\"lens\",\"panelIndex\":\"2\",\"gridData\":{\"x\":0,\"y\":15,\"w\":24,\"h\":15,\"i\":\"2\"},\"embeddableConfig\":{},\"id\":\"lens-nginx-requests-by-upstream\"}]","optionsJSON":"{\"useMargins\":true,\"hidePanelTitles\":false}","version":1}}
