Free forever, no credit card.Get Started for Free →
← All posts
December 5, 2026 · 5 min read

Does Winlogbeat Remember Between Runs? One Bookmark Per Channel, Written Only After the Output Says Yes.

Does Winlogbeat Remember Between Runs? One Bookmark Per Channel, Written Only After the Output Says Yes. Winlogbeat ships Windows Event Logs — Security, System, Application, PowerShell, and any other channel you name — to Elasticsearch, Logstash, or another output. It runs as a service on machines that reboot for patching, get reimaged, or lose power. So the memory question is exact: when Winlogbeat starts again, does it resend everything, skip what happened while it was down, or pick up precis

Does Winlogbeat Remember Between Runs? One Bookmark Per Channel, Written Only After the Output Says Yes.

Winlogbeat ships Windows Event Logs — Security, System, Application, PowerShell, and any other channel you name — to Elasticsearch, Logstash, or another output. It runs as a service on machines that reboot for patching, get reimaged, or lose power. So the memory question is exact: when Winlogbeat starts again, does it resend everything, skip what happened while it was down, or pick up precisely where it stopped?

The answer is one bookmark per channel. Winlogbeat remembers a record number, and only a record number. It writes that number to a registry file after the output acknowledges delivery, and on restart it resumes from there. Everything else — why an event mattered, what a previous run concluded about a host, what an automation already acted on — lives nowhere in that file.

The registry file: a bookmark, not a database

Winlogbeat stores its resume state in a YAML registry file, configured with winlogbeat.registry_file. By default it sits as .winlogbeat.yml where the Beat was started. When Winlogbeat runs as a Windows service, Elastic recommends an absolute path such as C:/ProgramData/winlogbeat/.winlogbeat.yml, and newer 9.1 installs place service data under C:/Program Files/Winlogbeat-Data instead. The path matters more than it looks: point a restarted service at a fresh, empty registry and it behaves like a first run, while the old bookmark sits unused in the previous location.

Open the file and there is no event content inside. For each event log channel it holds the record number of the last event Winlogbeat successfully sent, with a timestamp. That is the whole memory: a position in each channel, nothing about the events themselves.

Acknowledgement first, bookmark second

The order of operations protects that position. Winlogbeat reads a batch of records from the Windows Event Log API — event_logs.batch_read_size defaults to 100 — applies its processors, publishes the batch to the configured output, and waits for the output to acknowledge receipt. Only then does it record the last record number from that batch in the registry file, and only then does it read the next batch.

That sequence is why a normal restart does not produce a flood of duplicates. Events that were acknowledged are behind the bookmark. Events that were read but never acknowledged are ahead of it, so they get read again. The checkpoint code behind this persists state to disk so monitoring can resume from the last read event after a restart or an unexpected interruption, flushing pending state when the process shuts down cleanly.

There is a related setting worth knowing: winlogbeat.shutdown_timeout. By default there is no timeout, so Winlogbeat can stop without waiting for every event to be published. On restart it still resumes from the last successfully published event in each log. Setting a timeout such as 30s gives in-flight publishing a window to finish before the process exits.

The first run, and the reset

With no registry file, Winlogbeat starts at the oldest record available in each channel. On a busy Security log that can mean a large historical backfill you never asked for. The common guard is ignore_older, for example 72h on a channel, which adds a time filter to the query sent to the Windows API so only events newer than the window are returned.

Deleting the registry file is therefore a deliberate reset. Stop Winlogbeat, delete the registry, restart it, and it reships from the start of the log, or from the point ignore_older sets. That is useful in testing and dangerous in production, because the output receives everything again.

Where ignore_older can quietly create a gap

ignore_older interacts with downtime in a way that surprises operators. The bookmark says resume from the last sent record. The time filter says return only events newer than, say, 72 hours. If Winlogbeat was stopped for four days, it resumes from a record that is four days old, but the 72-hour filter skips roughly a day of events between the bookmark and the window. The service comes back healthy, ships current events, and the gap leaves no error behind it. The bookmark was honoured and the filter was honoured; the missing day is the product of both working as designed.

Windows itself adds one more boundary. Event logs are finite and can overwrite as needed. A record number only helps if that record still exists when Winlogbeat returns. A long outage on a high-volume channel can roll the log past the bookmark entirely.

What the bookmark never remembers

Notice what none of this stores. The registry does not remember that the 3 a.m. run already escalated a failed-login burst, that an analyst already cleared a host, or that a scheduled automation decided a set of events was noise. It remembers delivery position, not decisions. The moment a second system — an n8n workflow, a Make scenario, a cron-driven agent reviewing Windows events on a schedule — needs to know what the last run concluded, the bookmark is the wrong place to look. It was never built to hold that.

That is the recurring shape of scheduled automation: the transport remembers its offset perfectly, and the reasoning starts from zero anyway. Each run re-reads, re-judges, and risks re-acting on the same events because the decision from the previous run was written nowhere shared.

Give the reasoning a memory of its own

Vilix AI is built for that second layer. It is cloud-hosted with zero infrastructure to run, so a scheduled automation connects to it over MCP instead of standing up a memory server on the Windows host. The same memory is available everywhere MCP runs, so the agent reviewing events on one machine and the agent summarising them on another read one shared state, not two local files.

Vilix AI keeps full conversation history, not just extracted facts, so a run can check what the previous run actually said and did before it acts. That is the difference between resuming a log position and resuming a line of work: the bookmark prevents duplicate delivery, and shared memory prevents duplicate decisions.

Start on the free plan, which stays free forever, or run the 7-day Pro trial with no card required. Export or delete your memory at any time. Keep Winlogbeat's registry exactly where your service expects it, let it do the one job it does well, and stop asking a record number to remember your reasoning.

Get Started for Free

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get Started for Free

Free forever, no credit card.

Keep reading
Does Metricbeat Remember Between Runs? A Sampler With No Bookmark and a Queue That Forgets on Restart

Does Metricbeat Remember Between Runs? A Sampler With No Bookmark and a Queue That Forgets on Restart Metricbeat collects metrics from a host and the services on it: CPU, memory, filesystem, network, processes, and, through modules, systems such as Docker, Kubernetes, MySQL or nginx. It runs on fleets that reboot, get redeployed as containers, and restart for every config change. So the memory question sounds familiar: when Metricbeat starts again, does it pick up where it stopped? The short a

Does Data Prepper Remember Between Runs? The Buffer Forgets on Restart. The Checkpoint Does Not.

Does Data Prepper Remember Between Runs? The Buffer Forgets on Restart. The Checkpoint Does Not. OpenSearch Data Prepper sits between a source and a sink, filtering, enriching, and aggregating logs, metrics, and traces before they reach OpenSearch or another destination. Pipelines restart for ordinary reasons: a rolling deployment, a config change in pipelines.yaml, a pod reschedule, a crash under load. The memory question is therefore concrete. When Data Prepper comes back, which parts resume

Does Splunk Universal Forwarder Remember Between Runs? The Fishbucket Resumes the File. Nothing Resumes the Reasoning.

Does Splunk Universal Forwarder Remember Between Runs? The Fishbucket Resumes the File. Nothing Resumes the Reasoning. A Splunk Universal Forwarder sits on a server, a laptop, or a container host and does one job: read local data and send it to an indexer. It also restarts constantly in real life: patching, upgrades, reboots, a service recycle after a config change. So the memory question is practical. When the forwarder comes back, what does it still know, and what was never stored anywhere?