Chronicle is a cloud service built as a specialized layer on top of core Google infrastructure. It is designed for enterprises to privately retain, analyze, and search the massive amounts of security and network telemetry they generate. Chronicle normalizes, indexes, correlates, and analyzes the data to provide instant analysis and context on risky activity.
Chronicle gives analysts a way, when they see a potential threat, to identify it and determine what it's doing, whether it matters, and how best to respond.
The Chronicle forwarder is one of many methods Chronicle uses to ingest security telemetry. The Chronicle forwarder is a lightweight software component deployed in the customer's network and supports syslog, packet capture, and existing log management or security information and event management (SIEM) data repositories.
In this lab, you configure a Chronicle forwarder on a Windows VM using a standard Docker image. You use labels to add searchable metadata to the logs to optimize analytical capabilities.
What you'll learn
In this lab, you learn how to perform the following tasks:
Perform a basic installation of Docker on a Windows host.
Install and configure the Chronicle forwarder on Windows.
Send sample logs using the file collector.
Install and configure NXLog Community Edition on Windows.
Send Windows Logs to the Chronicle Forwarder using NXLog .
Setup and requirements
Before you click the Start Lab button
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Access to a standard internet browser (Chrome browser recommended).
Note: Use an Incognito (recommended) or private browser window to run this lab. This prevents conflicts between your personal account and the student account, which may cause extra charges incurred to your personal account.
Time to complete the lab—remember, once you start, you cannot pause a lab.
Note: Use only the student account for this lab. If you use a different Google Cloud account, you may incur charges to that account.
How to start your lab and sign in to the Google Cloud console
Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method.
On the left is the Lab Details pane with the following:
The Open Google Cloud console button
Time remaining
The temporary credentials that you must use for this lab
Other information, if needed, to step through this lab
Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).
The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Arrange the tabs in separate windows, side-by-side.
Note: If you see the Choose an account dialog, click Use Another Account.
If necessary, copy the Username below and paste it into the Sign in dialog.
{{{user_0.username | "Username"}}}
You can also find the Username in the Lab Details pane.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
{{{user_0.password | "Password"}}}
You can also find the Password in the Lab Details pane.
Click Next.
Important: You must use the credentials the lab provides you. Do not use your Google Cloud account credentials.
Note: Using your own Google Cloud account for this lab may incur extra charges.
Click through the subsequent pages:
Accept the terms and conditions.
Do not add recovery options or two-factor authentication (because this is a temporary account).
Do not sign up for free trials.
After a few moments, the Google Cloud console opens in this tab.
Note: To access Google Cloud products and services, click the Navigation menu or type the service or product name in the Search field.
Task 1. Install Docker on Windows
In this task, you install and configure the forwarder on a Windows VM. To prepare, install and configure Docker into the VM instance.
In the Google Cloud console, in the Navigation menu (), click Compute Engine > VM instances. You should see listed in the VM instance list.
Note: As there may be a delay as the lab initially loads, check the Status of the VM instance. Wait for a green check to display before continuing on to the next step.
Inline with , click the RDP expand arrow and click Set Windows password.
Click Set in the Set new Windows password dialog. Copy and record the new password and then close the dialog.
Back in the VM instances list, click RDP and then click Download the RDP file if you will be using a 3rd-party client. This downloads an RDP file onto your local device.
Click to run the RDP file on your local device. It connects to the VM instance.
Login to using the password you recorded earlier (it may still be in your clipboard).
In , in the search box on the bottom, type "Powershell", and then right click on Windows PowerShell > Run as administrator.
Click Yes. This opens the Administrator: Windows PowerShell window.
Note: Save the Windows user password as you will log in again later. If you didn't save it you can always reset it again using Step 3.
Enable the Microsoft Windows container feature by running the following:
Install-WindowsFeature containers -Restart
This lets you package applications with their dependencies.
Click OK to restart the instance. The instance disconnects when the lab instance restarts.
To reconnect to the instance, click the RDP file you downloaded to your local device and log in with the password you previously recorded.
If you can't connect, most likely the Windows instance is still rebooting. Wait a minute and try again.
Reopen the Administrator: Windows PowerShell window and execute the following command to install Docker CE:
...
C:\Users\student_02_4b53053b2> docker --version
Docker version 26.0.0, build ed223bc
Check your learning:
Task 2. Install and configure the forwarder on Windows
In this task, you configure the Chronicle forwarder for Windows on the instance. You then review the logs on the forwarder to determine whether you made a successful connection.
Obtain the latest Docker image from Google Cloud using the Docker pull command:
It takes a few minutes to pull and extract the files.
Once the image has been pulled check that the image is present.
docker images
Output:
...
C:\Users\student_02_4b53053b2> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
gcr.io/chronicle-container/cf_production_stable_windows latest 6efe590c0302 11 months ago 6.89GB
Switch directory to the C:\config directory.
cd c:\config
Copy the Chronicle config file for this lab environment, chronicle_config.conf, from Cloud Storage to the config directory:
Task 4. Install and configure the NXLog Community Edition on Windows
The NXLog Community Edition is a high-performance, multi-platform, log collection solution that offers features such as log parsing, filtering, conversion, and forwarding.
Open the Google Chrome browser on the Windows Server and open this link in that browser.
Click on Windows Image on the right side of the screen, click Windows x86-64, then Download.
Notice the downloaded installer file: the name starts with nxlog-ce and ends in msi.
When you are prompted to Login/Signup, click No thanks, just start my download.
Run the installer file to install NXLog in the C:\Program Files\nxlog directory.
Follow the installation wizard and accept all defaults.
Do not change the installation directory in this lab as the later steps assume you have deployed NXLog in this directory.
Restart the NXLog CE process by entering the following command in the PowerShell terminal:
Restart-Service nxlog
Task 5. Send Windows logs using the Windows Event collector with all EVT types in one config file
NXLog CE supports modular configuration files as well as an All-in-One configuration file. For this exercise, we will use the All-In-One configuration file . You can keep using the Powershell terminal for these tasks.
Enter the following command in the Powershell terminal to create a new nxlog.conf file in the C:\Program Files\nxlog directory using Notepad.
notepad "C:\Program Files\nxlog\nxlog.conf"
Creating or modifying content in the C:\Program Files\nxlog directory requires elevated permissions. Launching Notepad from within the elevated PowerShell terminal ensures you can create and edit the file.
Copy the following configuration settings into the nxlog.conf file:
You should now see Windows event log (WINEVTLOG) batches in the output that look similar to the following:
2024-02-16 00:03:03 INFO I0216 00:03:03.857425 2160 syslog.go:401] Accepting new syslog TCP connection.
2024-02-16 00:03:10 INFO I0216 00:03:10.833999 2160 malachite.go:257] Batch (22, WINEVTLOG) successfully uploaded.
NXLog sends the Windows logs to localhost on port 10518 (from the NX Log CE config file above). And the Chronicle Forwarder is listening on that port to send the logs as WINEVTLOG type to Chronicle (from the config file of the forwarder).
Check your learning:
Task 6. Chronicle forwarder config verification
In order to validate that you have configured Chronicle correctly for this lab you must upload your final chronicle_config.conf file to a Cloud Storage bucket for validation.
Run the following command in the PowerShell terminal to copy the chronicle_config.conf file to the Cloud Storage bucket:
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated April 19, 2024
Lab Last Tested April 09, 2024
Copyright 2025 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
Labs create a Google Cloud project and resources for a fixed time
Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
On the top left of your screen, click Start lab to begin
Use private browsing
Copy the provided Username and Password for the lab
Click Open console in private mode
Sign in to the Console
Sign in using your lab credentials. Using other credentials might cause errors or incur charges.
Accept the terms, and skip the recovery resource page
Don't click End lab unless you've finished the lab or want to restart it, as it will clear your work and remove the project
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one
Use private browsing to run the lab
Use an Incognito or private browser window to run this lab. This
prevents any conflicts between your personal account and the Student
account, which may cause extra charges incurred to your personal account.
In this lab, you configure a SIEM forwarder on a Windows VM using a standard Docker image. You use labels to add searchable metadata to the logs to optimize analytical capabilities.