MongoDB

MongoDB server log files in JSON (v4.4+) and legacy text format.

WindowsEvent and service logsParser: logs_mongo_db12 fieldsCollected by server triage

What MongoDB is

MongoDB server log files in JSON (v4.4+) and legacy text format. It is one of 28 event and service logs artifacts Arcsentry reads. Event and service logs record what the operating system and its services saw: logons, process starts, service changes, errors and security events.

Forensic value

Event and service logs artifacts help answer questions like these:

  • Who logged on, from where and how?
  • What changed on the system and when?
  • Were the logs cleared?

Where it is stored

Arcsentry looks for MongoDB at these locations inside a collection, disk image or mounted volume:

Program Files/MongoDB/Server/*/log/**/*.log*
Program Files/MongoDB/Server/*/logs/**/*.log*
ProgramData/MongoDB/log/**/*.log*

What Arcsentry records

Each MongoDB record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:

FieldTypeMeaning
event_originalStructured log line exactly as mongod wrote it, including attributes
event_timestampStructured log timestamp with its recorded offset
severityJSON-decoded severity
componentJSON-decoded component name
event_codeUnique structured log message id
contextJSON-decoded thread or connection context
messageJSON-decoded log message
severityLog severity level (F=Fatal, E=Error, W=Warning, I=Info, D=Debug)
componentMongoDB component name (NETWORK, STORAGE, etc.)
contextThread or connection context
messageLog message content
event_timestampLegacy text log timestamp

Time

Recorded timestamp from structured JSON or legacy text. Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.

Collecting MongoDB with Arcsentry Collector

Arcsentry Collector gathers MongoDB in this triage profile: windows::profile::triage::server. It is read straight from the file system, on a live host or inside a disk image, without mounting.

The collection targets that pick it up: windows::logs::mongo_db_logs.

.\arcsentry-collect.exe collect --local -t windows::profile::triage::server `
  -o E:\IR -f host.arcx --password-file E:\IR\pw.txt

Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.

Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so MongoDB can come from the tools you already use.

Analysing MongoDB in Arcsentry

Ask in plain English, for example "show MongoDB records from the incident window, newest first", and Arcsentry shows the query before it runs.

Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads MongoDB records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse MongoDB?

Yes. Arcsentry's MongoDB parser (logs_mongo_db) reads it from Windows evidence and records 12 fields per record, with provenance back to the source file.

How do I collect MongoDB?

Arcsentry Collector gathers it with the server triage profile (windows::profile::triage::server), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.

Parse MongoDB on your own evidence.

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial