Recommending query templates during query formation
AssigneeSplunk Inc.
InventorsBenoit Bourbie, Nikhil Mungel, Peigen Sun
Life of this patent
Estimating the term…
Abstract
Systems and methods are disclosed for recommending query templates to a user. The system can identify a token query parameter from a portion of a query entered in a user interface, and use the token to identify a query template from a group of query templates. In some cases, some of the query templates can correspond to other queries associated with users of different tenants and can be generated by replacing user query parameters with placeholders. The system can identify query parameters for the placeholders and cause a user interface to display the query template with the query parameters in place of the placeholders.
Claims29
A method, comprising:
- identifying a token search query parameter in least a portion of a search query entered in a user interface, wherein the search query is associated with a tenant of a search query system;
- identifying a plurality of search query templates based at least in part on the identified token search query parameter, wherein the plurality of search query templates correspond to a plurality of previously executed search queries associated with a plurality of tenants of the search query system, and wherein each search query template of the plurality of search query templates includes a sequence of search query commands and a plurality of search query parameter placeholders;
- identifying, for each of the plurality of search query templates, a plurality of search query parameters for the plurality of search query parameter placeholders based on the tenant;
- for each of the plurality of search query templates, replacing the plurality of search query parameter placeholders with the identified plurality of search query parameters to form a plurality of suggested search query templates;
- and
- causing the user interface to display the plurality of suggested search query templates, wherein selection of a suggested search query template of the plurality of suggested search query templates causes the suggested search query template to be included as at least a portion of the search query.
A computing system, comprising:
- memory;
- and
- one or more processing devices coupled to the memory and configured to:
- identify a token search query parameter in least a portion of a search query entered in a user interface, wherein the search query is associated with a tenant of a search query system;
- identify a plurality of search query templates based at least in part on the identified token search query parameter, wherein the plurality of search query templates correspond to a plurality of previously executed search queries associated with a plurality of tenants of the search query system, and wherein each search query template of the plurality of search query templates includes a sequence of search query commands and a plurality of search query parameter placeholders;
- identify, for each of the plurality of search query templates, a plurality of search query parameters for the plurality of search query parameter placeholders based on the tenant;
- for each of the plurality of search query templates, replace the plurality of search query parameter placeholders with the identified plurality of search query parameters to form a plurality of suggested search query templates;
- and
- cause the user interface to display the plurality of suggested search query templates, wherein selection of a suggested search query template of the plurality of suggested search query templates causes the suggested search query template to be included as at least a portion of the search query.
Non-transitory computer readable media comprising computer-executable instructions that, when executed by a computing system, cause the computing system to:
- identify a token search query parameter in least a portion of a search query entered in a user interface, wherein the search query is associated with a tenant of a search query system;
- identify a plurality of search query templates based at least in part on the identified token search query parameter, wherein the plurality of search query templates correspond to a plurality of previously executed search queries associated with a plurality of tenants of the search query system, and wherein each search query template of the plurality of search query templates includes a sequence of search query commands and a plurality of search query parameter placeholders;
- identify, for each of the plurality of search query templates, a plurality of search query parameters for the plurality of search query parameter placeholders based on the tenant;
- for each of the plurality of search query templates, replace the plurality of search query parameter placeholders with the identified plurality of search query parameters to form a plurality of suggested search query templates;
- and
- cause the user interface to display the plurality of suggested search query templates, wherein selection of a suggested search query template of the plurality of suggested search query templates causes the suggested search query template to be included as at least a portion of the search query.
Dependencies are inferred from the claim text.