Output Configuration
The output section of winlogbeat.yml defines where collected events are sent. The 262COS configuration forwards all events to the DIP Logstash pipeline on port 5045/TCP.
Logstash Outputβ
output.logstash:
hosts: ["<DIP_EXTERNAL_IP>:5045"]
ssl.enabled: true
ssl.verification_mode: "none"
Replace <DIP_EXTERNAL_IP> with the DIP's external IP address for the mission network.
If the winlogbeat.yml came from a TFPlenum package built on a DIP configured IAW 262COS-DIP-SOP-001, the output is already configured to point to the correct DIP External IP at 5045/TCP. No changes to the output section should be needed.
On a DIP not built with 262COS-DIP-SOP-001, the Logstash pipeline and certificates may be configured differently. In that case, uncomment the certificate lines and point them to the correct cert files:
output.logstash:
hosts: ["<DIP_EXTERNAL_IP>:5045"]
ssl.certificate_authorities: ["${path.home}/ca.crt"]
ssl.certificate: "${path.home}/tls.crt"
ssl.key: "${path.home}/tls.key"
ssl.enabled: true
ssl.verification_mode: "none"
Why SSL Certificate Files Are Omittedβ
The 262COS base config intentionally omits ssl.certificate_authorities, ssl.certificate, and ssl.key. If the DIP is rebuilt or redeployed:
- New TLS certificates are generated automatically.
- Agents pinned to the old certificate files will fail to reconnect with a TLS handshake error.
- Every deployed host would require a manual config update to reference the new certs.
By using ssl.verification_mode: "none", agents will connect over TLS without verifying the server certificate β eliminating cert-related reconnect failures while maintaining an encrypted transport.
Global Processorsβ
Global processors apply to all events regardless of channel. The standard 262COS config includes:
processors:
- add_host_metadata:
when.not.contains.tags: forwarded
- add_cloud_metadata: ~
add_host_metadata: Appends the collecting host's metadata (hostname, IP, OS) to each event. Thewhen.not.contains.tags: forwardedcondition skips this for ForwardedEvents, which should retain the originating host's identity rather than the forwarder's.add_cloud_metadata: Detects and appends cloud provider metadata (AWS, Azure, GCP) if the host is running in a cloud environment. Has no effect on bare-metal or on-prem hosts.
Logging Configurationβ
Controls Winlogbeat's own operational log output. Useful for troubleshooting collection issues.
logging.to_files: true
logging.files:
path: C:\ProgramData\winlogbeat\Logs
logging.level: info
logging.leveloptions:debug,info,warning,error,critical. Usedebugtemporarily when troubleshooting; revert toinfofor normal operations to avoid log bloat.