Skip to main content

How to Optimize a Query with AI

S
Written by Sergey Bayrachny

Use AI to get optimization suggestions for your query.

  1. Go to the Improve mode in Uncoder AI.

  2. Paste your query/rule in the input panel or upload it from a file. The platform (language) of your query/rule is automatically detected in the source language dropdown. Ensure it is correct or modify it if needed.

  3. Select Optimize as the action to be taken.

  4. Click Improve.

  5. The result is shown in the output panel.

Next Steps


Once the optimization output has been generated, you can:

  • Copy the output to the clipboard in Markdown

  • Generate a short or full summary for your input rule/query

  • Run your input rule/query in your SIEM/EDR/Data Lake or push it to a Git repository

  • Copy your input rule/query to the clipboard and paste it into your system or download the rule/query as a file

  • Save your input rule/query to a custom repository

  • Translate your input rule/query into a different language

  • Validate your input rule/query syntax and structure

  • Group query results

  • Make custom modifications with AI

Supported Platforms


To find out what platforms (languages) are supported, see this article.

Did this answer your question?