Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
{ "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "title": "Avg duration per method/status_code", "data": { "url": { "%context%": true, "%timefield%": "@timestamp", "index": "logs-*", "body": { "size": 0, "aggs": { "combo": { "composite": { "size": 2000, "sources": [ { "status_code": { "terms": { "field": "status_code" } } }, { "method": { "terms": { "field": "method" } } } ] }, "aggs": { "avg_duration": { "avg": { "field": "duration_ms" } } } } } } }, "format": { "property": "aggregations.combo.buckets" } }, "mark": "rect", "encoding": { "x": { "field": "key.method", "type": "nominal", "title": "Method" }, "y": { "field": "key.status_code", "type": "ordinal", "title": "Status code" }, "color": { "field": "avg_duration.value", "type": "quantitative", "title": "Avg duration (ms)", "scale": { "scheme": "reds" } }, "tooltip": [ { "field": "key.method", "title": "Method" }, { "field": "key.status_code", "title": "Status" }, { "field": "avg_duration.value", "title": "Avg duration (ms)" } ] } }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)