Does Graylog Remember Between Runs? Its Journal Replays the Messages. Nothing Replays the Reasoning.
Does Graylog Remember Between Runs? Its Journal Replays the Messages. Nothing Replays the Reasoning. Graylog collects log messages from servers, network devices, and applications, then parses, indexes, and searches them from one interface. It also restarts: upgrades, config changes, host reboots, a search backend that needs attention. So the memory question matters. When Graylog comes back, what does it still hold, and what was never stored in the first place? The documented answer splits clea
Does Graylog Remember Between Runs? Its Journal Replays the Messages. Nothing Replays the Reasoning.
Graylog collects log messages from servers, network devices, and applications, then parses, indexes, and searches them from one interface. It also restarts: upgrades, config changes, host reboots, a search backend that needs attention. So the memory question matters. When Graylog comes back, what does it still hold, and what was never stored in the first place?
The documented answer splits cleanly. Graylog remembers delivery and configuration carefully. A message journal on disk holds incoming messages before processing, MongoDB holds the setup, and the search backend holds the indexed messages themselves. What Graylog does not hold is any conclusion drawn from those messages. A scheduled AI agent that searched yesterday's logs, grouped the failures, and decided which hosts needed attention starts its next run with the raw messages searchable again and none of its own reasoning saved.
The message journal: messages written to disk first
The journal sits in front of all message processing. Every incoming message is written to disk in the journal before Graylog parses it, matches it against streams, runs it through pipeline stages, and writes it to the search backend.
That order is the point. If processing slows down, or the search backend becomes unreachable, messages queue in the journal instead of disappearing. If Graylog shuts down for any reason, the journal is read again when the application restarts, so messages that were accepted but not yet indexed get processed instead of lost.
The journal is enabled by default, and the same behavior covers a deliberate pause. When message processing is paused and the journal is enabled, Graylog keeps persisting incoming messages to disk, processing resumes when the node is re-enabled, and no data is lost in between.
There is a limit, and it is physical. The journal needs disk space at least equal to its configured size, and guidance for sizing it runs to several times daily ingest on fast storage. A journal that fills during a long outage cannot keep accepting uncommitted messages. The journal protects messages across a restart. It does not protect them forever, and it was never designed to remember anything except the messages themselves.
MongoDB: the configuration, not the logs
A Graylog stack has three parts, and each one remembers a different thing. The Graylog server receives and processes messages. The search backend, Graylog Data Node or a self-managed OpenSearch cluster, stores and indexes the messages. MongoDB serves as the metadata store.
MongoDB holds configuration: users, roles and permissions, streams, input definitions, dashboards, pipeline rules, and alert settings. It does not hold the log messages themselves. That is why backup guidance treats MongoDB as critical even though it contains no logs. Lose MongoDB and the indexed messages still exist, but the setup that made them searchable and meaningful is gone. Back up MongoDB before an upgrade for exactly that reason.
On restart, this split is what makes Graylog feel like it remembers. The inputs come back because their definitions are in MongoDB. The pipelines run again because their rules are in MongoDB. The dashboards render because their layouts are in MongoDB. None of that is session memory. It is stored configuration, read back at startup.
The index: messages kept for as long as retention allows
Once a message clears the journal and processing, it is written to the search backend as an indexed document. Index sets control how those messages are grouped, rotated, and retained, so a search tomorrow can still find a message that arrived last week, as long as retention has not removed it.
That is real persistence, and it is worth naming precisely. The index remembers the event: timestamp, source, fields extracted during processing. It does not remember what anyone concluded from the event. A search returns messages, not decisions. Two runs of the same search can return the same messages while the agent reading them reaches its conclusion from scratch both times, because the conclusion was never written anywhere Graylog keeps.
Where the automation layer goes blind
Consider a scheduled automation built on top of Graylog. Every hour an AI agent searches for authentication failures, clusters them by host, checks which clusters match known maintenance, and escalates only the rest. The logs survive every restart. The journal survives. The configuration survives.
The agent's work product does not. Which clusters were already escalated, which host was cleared as maintenance yesterday, which pattern turned out to be a scanner rather than an attack: that reasoning happened inside one run. Unless the automation writes it somewhere built for agent memory, the next run searches the same index and re-derives the same answers, or worse, escalates the same cluster a second time because nothing told it the first escalation happened.
Graylog is doing its job exactly as documented here. Delivery memory and reasoning memory are different jobs.
Give the agent a memory built for reasoning
Vilix AI is built for that second job. It is cloud-hosted, so there is no database, journal, or index to size, back up, or run yourself: the memory is simply there when the next run starts. Zero infrastructure is the operating model, not a setup step.
The same memory is reachable from everywhere an automation already works, over MCP. An n8n workflow, a Make scenario, a script on a schedule, and a chat session can all read and write the same shared memory, so an escalation decision saved by the hourly agent is visible to the morning review agent and to the person asking about it later in chat.
Vilix AI also keeps full conversation history, not just extracted facts. That distinction matters for log work, where the useful context is often the sequence: which search ran first, what it returned, why a host was cleared, and what changed after. A fact store can keep the verdict. Full history keeps the reasoning that produced the verdict, so the next run can check it instead of repeating it.
Getting started does not need a commitment. There is a free plan that stays free forever, and a 7-day Pro trial with no card required. Memory can be exported or deleted at any time, so the record an automation builds stays under its operator's control.
The short answer
Does Graylog remember between runs? Yes, in three documented layers: the journal replays accepted messages after a restart, MongoDB restores the configuration, and the index keeps the messages searchable for as long as retention allows. What none of those layers keeps is what your automation decided about those messages. Keep Graylog for the logs. Give the agent Vilix AI for the reasoning, and the next run starts from yesterday's conclusions instead of yesterday's raw events.