{"componentChunkName":"component---src-templates-doc-tsx","path":"/product/discover-queries/query-builder/","result":{"data":{"file":{"id":"12afe9bf-6bff-5242-9ade-5c47fff2e0ee","relativePath":"product/discover-queries/query-builder.mdx","sourceInstanceName":"docs","childMarkdownRemark":null,"childMdx":{"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Query Builder\",\n  \"sidebar_order\": 5,\n  \"redirect_from\": [\"/workflow/discover2/query-builder/\", \"/performance-monitoring/discover-queries/query-builder/\"]\n};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar ParamTable = makeShortcode(\"ParamTable\");\nvar Alert = makeShortcode(\"Alert\");\nvar CodeTabs = makeShortcode(\"CodeTabs\");\nvar CodeBlock = makeShortcode(\"CodeBlock\");\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"From the Discover Homepage, you can build a query in three ways.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Click on \\\"Build a new query\\\"\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Click on the ellipsis of an existing saved query card to \\\"Duplicate\\\"\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Go into any existing query\", mdx(\"ol\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Click on \\\"Save as...\\\" in the top right\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Enter a new display name\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Click \\\"Save\\\"\")))), mdx(\"p\", null, \"There are four main building blocks that impact the results of your saved query. You can use a combination of these to narrow down your search.\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Global Selection Header\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Search Conditions\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Interactive Graph\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Table Columns\")), mdx(\"h2\", {\n    \"id\": \"filter-by-global-selection-header\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#filter-by-global-selection-header\",\n    \"aria-label\": \"filter by global selection header permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Filter by Global Selection Header\"), mdx(\"p\", null, \"Specify which projects, environments, and date range you want to zoom in on at the top of the page. This can also be found in other parts of Sentry as a top level filter.\"), mdx(\"h2\", {\n    \"id\": \"filter-by-search-conditions\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#filter-by-search-conditions\",\n    \"aria-label\": \"filter by search conditions permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Filter by Search Conditions\"), mdx(\"p\", null, \"All events have built-in key fields or custom tags. Use the search bar to enter these keys and assign them values. This will filter down your list of events. Here are the built-in key fields.\"), mdx(ParamTable, {\n    fields: standardFields,\n    mdxType: \"ParamTable\"\n  }), mdx(\"h3\", {\n    \"id\": \"syntax\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#syntax\",\n    \"aria-label\": \"syntax permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Syntax\"), mdx(\"p\", null, \"The Query Builder syntax is identical to \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/product/sentry-basics/search/\"\n  }), \"Sentry's Search syntax\"), \". After you enter a key field from above or a custom tag, you can use any of the referenced syntax. For example, \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"count(id)\"), \" gives you the number of times an event occurs. This can be written in the following ways:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Exact match (is equal to): \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"count(id):99\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Upper bounds (is less than or equal to): \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"count(id):<99\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"count(id):<=99\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Lower bounds (is more than or equal to): \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"count(id):>99\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"count(id):>=99\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Multiple bounds (is more and less than): \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"count(id):>10 count(id):<20\"))), mdx(\"p\", null, \"Use \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"OR\"), \" and \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"AND\"), \" search conditions between filters. However \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"OR\"), \" cannot be used between aggregate and non-aggregate filters. For more details about these conditions, see \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/product/sentry-basics/search/#using-or--and-conditions\"\n  }), \"Using \", mdx(\"inlineCode\", {\n    parentName: \"a\"\n  }, \"OR\"), \" & \", mdx(\"inlineCode\", {\n    parentName: \"a\"\n  }, \"AND\"), \" Conditions\"), \".\"), mdx(\"h3\", {\n    \"id\": \"tag-summary-filters\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#tag-summary-filters\",\n    \"aria-label\": \"tag summary filters permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Tag Summary Filters\"), mdx(\"p\", null, \"Every event has a list of tag values. The tag summary (or facet map) is a visualization of the top 10 keys sorted by frequency. The most common tag value is listed directly above the bar in the description and percentage. Hover over each section in a bar to see the exact distribution for that tag.\"), mdx(\"p\", null, \"Click on any of these sections to further refine your search. For example, clicking on a section that represents Chrome in a browser bar will automatically update the tag summary and then add Chrome to the search conditions.\"), mdx(\"p\", null, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1200px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/1a42b6e0ef7e4321756f3007d6986095/c4451/discover-facet-map.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"52%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAIAAAA7N+mxAAAACXBIWXMAAAsSAAALEgHS3X78AAAA8UlEQVQoz42R226CQBCGff/naaohKViFUtAFCisCyy4soAHqqSkeSFwo2qY32MqfmclkMl8yh17dUlVVjLEmXvPG67/Ua5eOh8O+KMryVN/TDZgGuQEwRlkUbpCT+m5KvDxPPjrBQCWDB3M89Ie8y3MO14fCo4v1rBNs6tGI9/BkxTbseoNLYOdze/kbsG0lL88e1BYIZtRfB87Kh+n2/fPnfv/DBgif+nAqh7JIpiLVxEgRgizZfT/iDgyNWOBsRSKKFLxKRJfiAh0vXJexZ28xP4DyCIEJBSrV1EgdY2++7PiqtWUsbGv5a6aeNMV25xdIpjlXagaaxgAAAABJRU5ErkJggg==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"Facet map for transaction and handled tags. Map looks like a bar with gradient colors.\",\n    \"title\": \"Facet map for transaction and handled tags. Map looks like a bar with gradient colors.\",\n    \"src\": \"/static/1a42b6e0ef7e4321756f3007d6986095/c1b63/discover-facet-map.png\",\n    \"srcSet\": [\"/static/1a42b6e0ef7e4321756f3007d6986095/5a46d/discover-facet-map.png 300w\", \"/static/1a42b6e0ef7e4321756f3007d6986095/0a47e/discover-facet-map.png 600w\", \"/static/1a42b6e0ef7e4321756f3007d6986095/c1b63/discover-facet-map.png 1200w\", \"/static/1a42b6e0ef7e4321756f3007d6986095/c4451/discover-facet-map.png 1450w\"],\n    \"sizes\": \"(max-width: 1200px) 100vw, 1200px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")), mdx(\"h2\", {\n    \"id\": \"filter-by-interactive-graph\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#filter-by-interactive-graph\",\n    \"aria-label\": \"filter by interactive graph permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Filter by Interactive Graph\"), mdx(\"p\", null, \"Each query has a interactive graph that reflects the data presented in the table below. To zoom in, simply click and drag over the area you want to investigate. You can also customize the display and the Y-Axis. This will be saved with your query.\"), mdx(\"h3\", {\n    \"id\": \"display-options\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#display-options\",\n    \"aria-label\": \"display options permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Display Options\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Total Period\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Previous Period\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Release Markers\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Top 5 Period\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Total Daily\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Top 5 Daily\")), mdx(\"h3\", {\n    \"id\": \"y-axis-options\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#y-axis-options\",\n    \"aria-label\": \"y axis options permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Y-Axis Options\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Count\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Average Transaction Duration\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"p75\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"p95\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Unique User Count\")), mdx(\"h2\", {\n    \"id\": \"filter-by-table-columns\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#filter-by-table-columns\",\n    \"aria-label\": \"filter by table columns permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Filter by Table Columns\"), mdx(\"p\", null, \"Above the table, click \\\"Columns\\\" to open a modal. This will show you a list of all the columns in the results table. You can add, delete and move basic key field columns or custom tags columns. With the same view, you can also stack events with any of the following functions:\"), mdx(\"h3\", {\n    \"id\": \"stacking-functions\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#stacking-functions\",\n    \"aria-label\": \"stacking functions permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Stacking Functions\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"avg(...)\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"count(...)\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"count_unique(...)\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"max(...)\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"min(...)\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"sum(...)\"))), mdx(\"p\", null, \"Each function will ask you to assign a parameter. Some are required while others are optional. Functions will stack events based on the same values. If no functions are applied, the events in your Query Results will remain individually listed. Once you are done editing the columns, click \\\"Apply\\\" and results will be reflected in the Query Results. Keep in mind, the table may horizontall scroll if too many columns are added.\"), mdx(\"h3\", {\n    \"id\": \"resizing-columns\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#resizing-columns\",\n    \"aria-label\": \"resizing columns permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Resizing Columns\"), mdx(\"p\", null, \"You can resize columns by hovering over the column boundary, and clicking & dragging the boundary to resize the column to the desired width.\"), mdx(\"h3\", {\n    \"id\": \"sorting-columns\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#sorting-columns\",\n    \"aria-label\": \"sorting columns permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Sorting Columns\"), mdx(\"p\", null, \"Click on the column header you would like to sort. A down arrow sorts the column in descending order and an up arrow sorts the column in ascending order. This may refresh the table.\"), mdx(\"h3\", {\n    \"id\": \"export-csv\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#export-csv\",\n    \"aria-label\": \"export csv permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Export CSV\"), mdx(\"p\", null, \"If you want to take the data elsewhere, click on \\\"Export\\\" for a CSV file.\"), mdx(Alert, {\n    mdxType: \"Alert\"\n  }, \"Depending on the amount of data, the wait times can vary. The results are limited to 10 million rows or 1GB, whichever comes first.\"), mdx(\"p\", null, \"For a large export, you'll receive an email with the download link once it's ready. This will require further verification on the Sentry Download page. This contains a \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"SHA1\"), \" checksum of the file, which you can use to verify its integrity with the following command:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"bash\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"bash\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token builtin class-name\"\n  }), \"echo\"), \" \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token string\"\n  }), \"\\\"<SHA1 checksum> <downloaded CSV name>\\\"\"), \" \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token operator\"\n  }), \"|\"), \" sha1sum -c -\")))))), mdx(\"h3\", {\n    \"id\": \"cell-filters\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#cell-filters\",\n    \"aria-label\": \"cell filters permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Cell Filters\"), mdx(\"p\", null, \"Each cell in the table will have an ellipsis appear on hover. This will open a context menu with additional filtering capabilities depending on the value type. For example, you can selectively target a transaction to the search conditions bar by clicking on \\\"Add to filter\\\".\"), mdx(\"p\", null, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1200px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/42293af84a14547fa2ec3065941c126d/c4451/discover-table-cell.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"52%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAIAAAA7N+mxAAAACXBIWXMAAAsSAAALEgHS3X78AAAA9ElEQVQoz6VR7VLDMAzb+z8px26MlSSOvwJSmsDgLz01p/YsW3Iun/94Lnil9lakt27dtfs8jRCrH6Ki4OVorBEFKQcEOsagGEULW2bqJ1Dt5uHRZwv30K6CMepL7Oqo2AKKa2nHo+Bn5shI1BlaRIBk5jen2OY09D7Rqrzd7q8v1/vtHV0yAnoUQAAlXTRk25NpdQ7cLbo0ISrODmXGgCZpY7gxAj73ZLVnzwAE5z6dBqlhYExLdoHTH/HKPKEMbzMto66BM3OyHqEHxsRcxNo2nMAhLgAnbm65TUSlQ/CZk+RvZv76hTh3w/XMbT2TxZO5vgBBBkwB6G/O3QAAAABJRU5ErkJggg==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"Menu showing additional options to add to filter or exclude from filter\",\n    \"title\": \"Menu showing additional options to add to filter or exclude from filter\",\n    \"src\": \"/static/42293af84a14547fa2ec3065941c126d/c1b63/discover-table-cell.png\",\n    \"srcSet\": [\"/static/42293af84a14547fa2ec3065941c126d/5a46d/discover-table-cell.png 300w\", \"/static/42293af84a14547fa2ec3065941c126d/0a47e/discover-table-cell.png 600w\", \"/static/42293af84a14547fa2ec3065941c126d/c1b63/discover-table-cell.png 1200w\", \"/static/42293af84a14547fa2ec3065941c126d/c4451/discover-table-cell.png 1450w\"],\n    \"sizes\": \"(max-width: 1200px) 100vw, 1200px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")), mdx(\"h2\", {\n    \"id\": \"additional-query-actions\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#additional-query-actions\",\n    \"aria-label\": \"additional query actions permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Additional Query Actions\"), mdx(\"h3\", {\n    \"id\": \"edit-queries\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#edit-queries\",\n    \"aria-label\": \"edit queries permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Edit Queries\"), mdx(\"p\", null, \"If you need to edit any of these queries, go into the query, make the desired changes and a button will appear in the top right asking you to save/update the query. Keep in mind, edits to the query conditions \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"will not\"), \" be automatically saved.\"), mdx(\"p\", null, \"To rename a saved query, click on the pencil icon by the header and enter the desired display name. Click \\\"enter\\\" or outside of the area to confirm.\"), mdx(\"h3\", {\n    \"id\": \"share-queries\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#share-queries\",\n    \"aria-label\": \"share queries permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Share Queries\"), mdx(\"p\", null, \"Share your queries as often as you want. You can share URLs with other users who also have access to the same organization. As each part of the query is built, the results update, and the URL is updated so that in-progress searches can be shared in email, chat, etc.\"), mdx(\"h3\", {\n    \"id\": \"deleting-queries\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#deleting-queries\",\n    \"aria-label\": \"deleting queries permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Deleting queries\"), mdx(Alert, {\n    mdxType: \"Alert\"\n  }, \"Deleting a saved query is irreversible.\"), mdx(\"p\", null, \"On the Discover Homepage, each saved query card has an ellipsis that will open a context menu. Delete the query from here. You can also delete the query within Query Results view by clicking the trash can in the upper right.\"), mdx(\"p\", null, \"For more details on how to view saved queries, see the \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/product/discover-queries/\"\n  }), \"full documentation on Discover\")));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"url":"#filter-by-global-selection-header","title":"Filter by Global Selection Header"},{"url":"#filter-by-search-conditions","title":"Filter by Search Conditions","items":[{"url":"#syntax","title":"Syntax"},{"url":"#tag-summary-filters","title":"Tag Summary Filters"}]},{"url":"#filter-by-interactive-graph","title":"Filter by Interactive Graph","items":[{"url":"#display-options","title":"Display Options"},{"url":"#y-axis-options","title":"Y-Axis Options"}]},{"url":"#filter-by-table-columns","title":"Filter by Table Columns","items":[{"url":"#stacking-functions","title":"Stacking Functions"},{"url":"#resizing-columns","title":"Resizing Columns"},{"url":"#sorting-columns","title":"Sorting Columns"},{"url":"#export-csv","title":"Export CSV"},{"url":"#cell-filters","title":"Cell Filters"}]},{"url":"#additional-query-actions","title":"Additional Query Actions","items":[{"url":"#edit-queries","title":"Edit Queries"},{"url":"#share-queries","title":"Share Queries"},{"url":"#deleting-queries","title":"Deleting queries"}]}]},"internal":{"type":"Mdx"}}}},"pageContext":{"excerpt":"From the Discover Homepage, you can build a query in three ways. Click on \"Build a new query\" Click on the ellipsis of an existing saved query card to \"Duplicate\" Go into any existing query Click on \"Save as...\" in the top right Enter a new display name Click \"Save\" There are four main building blocks that impact the results of your saved query. You can use a combination of these to narrow down your search. Global Selection Header Search Conditions Interactive Graph Table Columns Filter by Global Selection Header Specify which projects, environments, and date range you want to zoom in on at the top of the page. This can also be found in other parts of Sentry as a top level filter. Filter by Search Conditions All events have built-in key fields or custom tags. Use the search bar to enter these keys and assign them values. This will filter down your list of events. Here are the built-in key fields. Syntax The Query Builder syntax is identical to  Sentry's Search syntax . After you enter a key field from above or a custom tag, you can use any of the referenced syntax. For example,  count(id)  gives you the number of times an event occurs. This can be written in the following ways: Exact match (is equal to):  count(id):99 Upper bounds (is less than or equal to):  count(id):<99  or  count(id):<=99 Lower bounds (is more than or equal to):  count(id):>99  or  count(id):>=99 Multiple bounds (is more and less than):  count(id):>10 count(id):<20 Use  OR  and  AND  search conditions between filters. However  OR  cannot be used between aggregate and non-aggregate filters. For more details about these conditions, see  Using  OR  &  AND  Conditions . Tag Summary Filters Every event has a list of tag values. The tag summary (or facet map) is a visualization of the top 10 keys sorted by frequency. The most common tag value is listed directly above the bar in the description and percentage. Hover over each section in a bar to see the exact distribution for that tag. Click on any of these sections to further refine your search. For example, clicking on a section that represents Chrome in a browser bar will automatically update the tag summary and then add Chrome to the search conditions. Filter by Interactive Graph Each query has a interactive graph that reflects the data presented in the table below. To zoom in, simply click and drag over the area you want to investigate. You can also customize the display and the Y-Axis. This will be saved with your query. Display Options Total Period Previous Period Release Markers Top 5 Period Total Daily Top 5 Daily Y-Axis Options Count Average Transaction Duration p75 p95 Unique User Count Filter by Table Columns Above the table, click \"Columns\" to open a modal. This will show you a list of all the columns in the results table. You can add, delete and move basic key field columns or custom tags columns. With the same view, you can also stack events with any of the following functions: Stacking Functions avg(...) count(...) count_unique(...) max(...) min(...) sum(...) Each function will ask you to assign a parameter. Some are required while others are optional. Functions will stack events based on the same values. If no functions are applied, the events in your Query Results will remain individually listed. Once you are done editing the columns, click \"Apply\" and results will be reflected in the Query Results. Keep in mind, the table may horizontall scroll if too many columns are added. Resizing Columns You can resize columns by hovering over the column boundary, and clicking & dragging the boundary to resize the column to the desired width. Sorting Columns Click on the column header you would like to sort. A down arrow sorts the column in descending order and an up arrow sorts the column in ascending order. This may refresh the table. Export CSV If you want to take the data elsewhere, click on \"Export\" for a CSV file. For a large export, you'll receive an email with the download link once it's ready. This will require further verification on the Sentry Download page. This contains a  SHA1  checksum of the file, which you can use to verify its integrity with the following command: Cell Filters Each cell in the table will have an ellipsis appear on hover. This will open a context menu with additional filtering capabilities depending on the value type. For example, you can selectively target a transaction to the search conditions bar by clicking on \"Add to filter\". Additional Query Actions Edit Queries If you need to edit any of these queries, go into the query, make the desired changes and a button will appear in the top right asking you to save/update the query. Keep in mind, edits to the query conditions  will not  be automatically saved. To rename a saved query, click on the pencil icon by the header and enter the desired display name. Click \"enter\" or outside of the area to confirm. Share Queries Share your queries as often as you want. You can share URLs with other users who also…","title":"Query Builder","description":null,"draft":null,"noindex":null,"notoc":null,"sidebar_order":5,"redirect_from":["/workflow/discover2/query-builder/","/performance-monitoring/discover-queries/query-builder/"],"keywords":null,"id":"12afe9bf-6bff-5242-9ade-5c47fff2e0ee","legacy":false}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","2764967025","3345802723","3818502851","3990806462","4015007367","4192517163","4264099332","518019976"]}