Lesson 5.7

History and sharing

Get back to earlier Arcsentry queries with the query history, and share a query as a link in a note that reopens Hunt with it, or as a command.

8 minEveryone
At a glance for experienced analysts
  • Query history (the history icon, top right of Hunt) lists the queries run in this case, newest first. Click one to load it.
  • A link like arcsentry://navigate/hunt?evidence=web01&event_type=logs_nginx&query=…&run=true in a note reopens Hunt with that query.
  • The same query runs from the command line, and a query you will reuse belongs in the Quiver as an arrow.
Command line
arcsentry query history --case <uuid> --format table

Query history

Every query you run in Hunt is recorded in the case, with the time it ran, the query, its language and how many rows came back. Open Query history from the history icon at the top right of Hunt and click an entry to load it into the query bar.

The history is part of the case. It shows a reviewer how you reached a finding, and the command line can list it:

arcsentry query history --case <uuid> --format table

Notes are Markdown, and a Markdown link can open a view of the case. A link to Hunt carries the evidence, event types and query:

[Web shell requests](arcsentry://navigate/hunt?evidence=web01&event_type=logs_nginx&query=filter%20remote_addr%20%3D%3D%20%22203.0.113.77%22&run=true)
Part Meaning
evidence=web01 The evidence item, by name
event_type=logs_nginx One or more event types, separated by commas
query=… The AQL, URL-encoded
run=true Run it straight away

The AI investigator writes links like this in its case notes, which is how its findings stay checkable: one click and you see the rows it is talking about. Module 12 covers notes in full.

Other ways to share

  • The command line: paste the AQL into arcsentry query --aql '…' to run it in a script or another case.
  • The Quiver: a query worth running on every host and every case becomes an arrow (Module 10).

Check yourself

1. Where is the query history kept?
2. You want a colleague to see exactly the rows you saw. What do you put in the case note?
Progress is saved in this browser only.