{"id":9164,"date":"2022-07-14T12:25:00","date_gmt":"2022-07-14T17:25:00","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=9164"},"modified":"2022-07-15T12:32:25","modified_gmt":"2022-07-15T17:32:25","slug":"debugging-vega-graphs-in-kibana","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=9164","title":{"rendered":"Debugging Vega Graphs in Kibana"},"content":{"rendered":"\n<p>If you open the browser&#8217;s developer console, you can access debugging information. This works when you are editing a visualization as well as when you are viewing one. To see a list of available functions, type VEGA_DEBUG. and a drop-down will show you what&#8217;s available. The command &#8220;VEGA_DEBUG.vega_spec&#8221; outputs pretty much everything about the chart. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/07\/Kibana-ega-Debug-Functions.png\"><img loading=\"lazy\" decoding=\"async\" width=\"283\" height=\"294\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/07\/Kibana-ega-Debug-Functions.png\" alt=\"\" class=\"wp-image-9166\"\/><\/a><\/figure>\n\n\n\n<p>To access the data set being graphed with the Vega Lite grammar, use &#8220;VEGA_DEBUG.view.data(&#8220;source_0)&#8221; &#8212; if you are using the Vega grammar, use the dataset name that you have defined. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/07\/kibana-vega-debugging.png\"><img loading=\"lazy\" decoding=\"async\" width=\"974\" height=\"584\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/07\/kibana-vega-debugging.png\" alt=\"\" class=\"wp-image-9165\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/07\/kibana-vega-debugging.png 974w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/07\/kibana-vega-debugging-300x180.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/07\/kibana-vega-debugging-768x460.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/07\/kibana-vega-debugging-750x450.png 750w\" sizes=\"auto, (max-width: 974px) 100vw, 974px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>If you open the browser&#8217;s developer console, you can access debugging information. This works when you are editing a visualization as well as when you are viewing one. To see a list of available functions, type VEGA_DEBUG. and a drop-down will show you what&#8217;s available. The command &#8220;VEGA_DEBUG.vega_spec&#8221; outputs pretty much everything about the chart. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1588],"tags":[931,1591,1669,1668],"class_list":["post-9164","post","type-post","status-publish","format-standard","hentry","category-elk","tag-data-visualization","tag-kibana","tag-vega","tag-visualizations"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9164"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9164\/revisions"}],"predecessor-version":[{"id":9167,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9164\/revisions\/9167"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}