arcsentry analysis
Control analysis runs that are already under way: pause, cancel, re-run, or hold the whole queue.
Subcommands
- pausePause the analysis of one evidence item, leaving what has been parsed so far in place.
- reanalyzeParse evidence again from its original source, waiting until the run finishes. Evidence added from an encrypted .arcx archive cannot be reanalyzed.
- cancelStop the analysis that is running for one evidence item and wait until it has stopped.
- pause-processingHold the analysis queue for the whole installation: running work finishes, nothing new starts.
- resume-processingLet the analysis queue start new work again after it was held.
Control analysis runs that are already under way: pause, cancel, re-run, or hold the whole queue.
Every subcommand here acts on a run that already exists, and none of them starts one. Starting a run is what analyze and evidence add do. Pause and cancel differ in what they leave behind: a paused run stays resumable and keeps the parser output already written, while a cancel is final and leaves the evidence marked failed for reanalysis. pause-processing and resume-processing take neither a case nor evidence, because they hold the whole analysis queue rather than one run.
arcsentry analysis <subcommand> Examples
Pause the analysis of one evidence item
arcsentry analysis pause --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 Cancel the run that is active for one evidence item
arcsentry analysis cancel --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 Reanalyze evidence from the archive it was added from
arcsentry analysis reanalyze --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 Hold the whole queue while the evidence volume is worked on
arcsentry analysis pause-processing Subcommand reference
arcsentry analysis pause
Pause the analysis of one evidence item, leaving what has been parsed so far in place.
Pause acts on the most recent run of the evidence. A run that is queued, clearing or running is signalled to stop and the command returns once it has stopped, printing outcome stopped with the state the run ended in; a run that had already ended is reported as already finished and exits 0; evidence with no run on record, or a run recorded as running that no process is still writing, is refused with a typed error naming the evidence and exits non-zero. The request reaches the Arcsentry instance that owns the run, so a run started from the desktop app is paused from here as long as that case is not open there. The records already read stay in the case, which is the difference from cancel; evidence processing-log records who asked and where the run ended.
arcsentry analysis pause --case <case> --evidence <evidence> | Option | Description |
|---|---|
| -c, --case <case>required | Case UUID. |
| -H, --evidence <evidence>required | Evidence UUID. |
Examples
Pause the analysis of one evidence item
arcsentry analysis pause --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 Pause it using the short forms of both flags
arcsentry analysis pause -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 Read how far the run got before it was paused
arcsentry evidence processing-log --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --format table Stop the run outright instead of pausing it
arcsentry analysis cancel --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 arcsentry analysis reanalyze
Parse evidence again from its original source, waiting until the run finishes. Evidence added from an encrypted .arcx archive cannot be reanalyzed.
The analysis results of the evidence are cleared and rebuilt. Its UUID, verdicts, and annotations survive. The processor selection, the time range and, for CSV/JSONL evidence, the timestamp field recorded for the evidence are applied again, so scoped evidence stays scoped; CSV/JSONL evidence whose first run never started records no field, so name it with --timestamp-field, which is refused for evidence that records one. The archive password is not persisted and reanalysis accepts none, so evidence added from an encrypted .arcx, which is what the collector writes by default, cannot be reanalyzed; only an unencrypted archive, or a source that is not .arcx at all, can be parsed again. The command returns once the run stops, whether it ran to completion, failed, or was stopped along the way; any ending but completion exits non-zero and names the state the run ended in, with any reason recorded for it.
arcsentry analysis reanalyze --case <case> --evidence <evidence> [options] | Option | Description |
|---|---|
| -c, --case <case>required | Case UUID. |
| -H, --evidence <evidence>required | Evidence UUID. |
| -t, --timestamp-field <timestamp-field> | For CSV/JSONL evidence that records no timestamp field because its first run never started: the field that holds each record's time, matched after field names are normalized. Evidence that records its field reads it again and takes no other. |
Examples
Reanalyze evidence after a parser was fixed
arcsentry analysis reanalyze --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 Re-analyze using the short forms of both flags
arcsentry analysis reanalyze -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 Analyze CSV/JSONL evidence whose first run never started, naming the field that holds each record's time
arcsentry analysis reanalyze --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --timestamp-field "Event Time" Reanalyze evidence whose overview could not be rebuilt
arcsentry case cache-recovery --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --action reanalyze --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 arcsentry analysis cancel
Stop the analysis that is running for one evidence item and wait until it has stopped.
Cancel acts on the most recent run of the evidence. A run that is queued, clearing or running is signalled to stop and the command returns once it has stopped, printing outcome stopped with the state the run ended in; a run that had already ended is reported as already finished and exits 0; evidence with no run on record, or a run recorded as running that no process is still writing, is refused with a typed error naming the evidence and exits non-zero. The request reaches the Arcsentry instance that owns the run, so a run started from the desktop app is cancelled from here as long as that case is not open there. A cancel is terminal and is recorded as a failure with the reason class cancelled; the records already read stay in the case; analysis reanalyze reads the original source again. evidence processing-log records who asked and how far the run got.
arcsentry analysis cancel --case <case> --evidence <evidence> | Option | Description |
|---|---|
| -c, --case <case>required | Case UUID. |
| -H, --evidence <evidence>required | Evidence UUID. |
Examples
Stop the run that is active for one evidence item
arcsentry analysis cancel --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 Stop it using the short forms of both flags
arcsentry analysis cancel -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 Read how far the run got before it was stopped
arcsentry evidence processing-log --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --format table Start it again from the original archive
arcsentry analysis reanalyze --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 arcsentry analysis pause-processing
Hold the analysis queue for the whole installation: running work finishes, nothing new starts.
Evidence submitted while the queue is held is not refused: it is accepted and recorded as queued, and it starts only once the hold is lifted. analyze waits on it: the invocation keeps watching the queued run rather than returning, so lift the hold with analysis resume-processing (or stop the run with analysis cancel) when you have submitted work you intend to wait on. The hold is not saved anywhere: it lasts as long as the Arcsentry that holds the queue keeps running, and the queue starts unheld after a restart. Holding a queue that is already held is accepted and changes nothing.
arcsentry analysis pause-processing Examples
Hold the queue before taking the evidence volume offline
arcsentry analysis pause-processing Let the queue run again afterwards
arcsentry analysis resume-processing Hold the queue, then check what is still running
arcsentry analysis pause-processing && arcsentry evidence list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format table Pause just one evidence item instead of the whole queue
arcsentry analysis pause --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 arcsentry analysis resume-processing
Let the analysis queue start new work again after it was held.
Releasing the hold wakes every evidence item that was waiting for a slot; how many start at once is still bounded by max_concurrent_analyses and by the memory available on this machine. Running this when nothing is held is accepted and changes nothing. A run that was paused or cancelled for one evidence item is not restarted here, because that acts on one evidence item: start it again with analysis reanalyze.
arcsentry analysis resume-processing Examples
Let the queue run again
arcsentry analysis resume-processing Hold it again
arcsentry analysis pause-processing Let the queue run and watch the evidence pick up
arcsentry analysis resume-processing && arcsentry evidence list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format table Raise how many evidence items may be analyzed at once
arcsentry config set max_concurrent_analyses 4