--- title: "Search events | Darwinium" slug: "query-view" description: "Search Darwinium events in Investigations using queries and filters, then inspect the interactions relevant to your investigation." updated: 2026-10-16T02:27:21Z published: 2024-07-29T20:04:22Z canonical: "docs.darwinium.com/query-view" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.darwinium.com/llms.txt > Use this file to discover all available pages before exploring further. # Search events The Query view is the best place to searches and find journeys that have been evaulated by the Darwinium risk decision engine. ![](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28172%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=32LsW9hFQXILby%2FmGWGLbfQP5jQRipF0mA3q2XpgPCk%3D) ### Search: Quick start The search bar filters the rows of data to just those that match your query. The number of events matching your search criteria is displayed in lower right. ``` // Simple search event_type = 'misc_other' // Most attribute have dots in their name, based on their attribute group profiling.javascript.os= "Mac OS X" profiling.javascript.browser= "Firefox" // Some attributes have CONTEXTs, accessed with [' '] identity['ACCOUNT'].email['PERSONAL'].email = 'test@test.com' outcome['CHAMPION'].decision_strategy.result = 'reject' // Can combine logic; AND, OR, (brackets). // Logic can be UPPER or lower. Attributes are lower only. event_type = 'misc_other' OR step_name = 'Login' // IN can be used to check many values in a list. // Single or double quotes work for strings. event_type IN ('account_login_success', "account_login_failed") // Logical negative is done with NOT or ! character step_url != "/login" step_url NOT IN ("/login", "/register") // Empty attribute values are checked with null keyword step_url = null step_url != null // Empty string attributes can also be searched with step_url = '' // Mathematical operators work on numerical attributes payment.amount >= 10 // Maps eg. feature:value dicts can be accessed with attr['keyvalue'] // Note: This is true of attribute CONTEXTs too. outcome['CHAMPION'].features.general['cnt_dvcid_for_eml_inc'] != null outcome['CHAMPION'].features.general['cnt_dvcid_for_eml_inc'] > 2 // Presence in an Array eg. signals can be checked with has function // Functions are camelCase has(outcome['CHAMPION'].models.signals, "Device used first time") !has(outcome['CHAMPION'].models.signals, "Device used first time") ``` See [Darwinium Query Language](/v1/docs/query-syntax-1) for full syntax and function reference. ### Templates: (Default Query) You can save how you arrange the graphs and data of your Query or Journey view to a *template*. That lets you and/or your team load the consistent view again of: - search query - which attributes are loaded in the table - the ordering of the outer category of data] - grid palette color rules ![](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28177%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=GLFxAZGUdXo4JnDRwzdQZi%2Fn1yRTu5zBpL9ysOyLceA%3D) See [Views & Templates.](/v1/docs/customizing-views-making-the-most-of-investigations) ### Saved searches The list icon next to timeframe search component remembers your previous searches. ![image.png](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28175%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=hMVG25axUXDJrDbfm0LMweDDZ5NUzI8zB3ZVSHCuCB8%3D) This is an easy way to select and search again for your common queries. ### Timeframe On right hand side of search bar is option to restrict based on timestamp of the event ![image.png](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28173%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=s9QlK%2BEp%2B%2FY0QlqNYVLqq%2FGWnY11utZu%2F4ckZOIorQk%3D) - Last: will bring in all data from now backwards that amount of time - Darwinium stores data for a year by default. Contact Darwinium if extended data retention is desired. Custom: The selectors at the bottom can be used for custom timeframes. ![image.png](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28174%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=58iUFI5%2FAbB%2Bo263%2BPg9C0WKUF2kGLBbfGClmOnlDGY%3D) - Selected days are *inclusive* - Only day granularity are currently supported ### Add new visualisation The Graphs that appear at the top of the table can be customised. ![image.png](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28181%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=pHZdcOSVMgLu9I6coiFg%2F%2FtWRnm6pAUc6KDtuS%2FXd4E%3D) *Tip* : Clicking on the edges of these graphs allow them to be moved and resized. Add new visualisation with the toolbar ![image.png](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28179%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=bat0d0vpk5hcxwD5ii6NSg%2F9gAXjw2oSxEZriBTAlIU%3D) Which creates a New Graph panel ![image.png](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28180%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=rJxTN96MIa%2Fz9A%2FKucDXigPSAYt6XoAlu12eUN3iPv4%3D) Assign a name, icon and graph type: - Time series: Bar chart - Time series attribute = partition and color bars by this attribute value - Device map: count geography map - Entity relationships: Links between identifiers ![image.png](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28182%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=aTo5RbUGHMV59ctLAyIjVbP338L3sdvoDI5%2FfNEo%2BJc%3D) Hit save to create the visual. The gear icon in top right corner of the graphs can be used to access settings again ### Grid color view Rules can be assigned to color datapoints in the table to help visual investigations ![image.png](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28178%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=kThrDG8jbc%2FlJD23Lb3cnWCIf8kWuUjpwADoW3mLIpY%3D) See [Query Data Table View](/v1/docs/query-data-table). ### Copy query to Python The arrow next to the search bar reveals additional options around the search. ![](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/image%28176%29.png?sv=2026-02-06&spr=https&st=2026-11-22T23%3A16%3A47Z&se=2026-11-23T00%3A16%3A47Z&sr=b&sp=r&sig=FxomDZdWunTDPFJzDHjhHwrls8lMskR31ZHr%2FmlyU04%3D) Copying the search query as Python will form and copy to your clipboard a query that can be pasted into a Python notebook within Workflows.