Working with Data Source Log SQL queries

Working with Data Source Log SQL queries

Once you have queried your data source logs with generative AI, you can use SQL to:

  • view the contents of the query

  • refine your query and re-run it

  • copy your query

To view the SQL of a generative AI query

  1. Follow the To analyze data source procedure on Querying Data Source Logs with Generative AI | To analyze data source logs.

  2. Once your results appear, click SQL SQL button.png.

The SQL code appears in the Results section.

To edit an SQL query and run it on your data source

When you’re editing, if you want to autocomplete, click CTRL + Space.

To format the SQL, click Format SQL Format SQL.png.

  1. Follow the https://cuda.atlassian.net/wiki/spaces/SKOUT/pages/edit-v2/1088455057#To-view-the-SQL-of-a-generative-AI-query procedure above.

  2. In the Result section, edit the SQL.

  3. When your edits are done, click Run SQL run SQL.png.

To copy an SQL query

Copying your SQL query copies your SQL onto your computer’s clipboard. You can then paste it into a file to save it.

  1. Follow one of these procedures

    • To view the SQL of a generative AI query

    • To edit an SQL query and run it on your data source

  2. In the SQL section, click Copy Copy.png.

 

 

 

 

 

 


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.