Menu

Automating an Elastic Stack 9 + Fleet Deployment on Windows with PowerShell and Docker Compose
📰

Automating an Elastic Stack 9 + Fleet Deployment on Windows with PowerShell and Docker Compose

DEV Community: docker·Shresth Paul·16 days ago
#8XpyrG3y
#devtodocker#devto#dev#fleet#windows
Reading 0:00
15s threshold

TL;DR

I rebuilt my one-click Windows monitoring script for Elastic Stack 9.5.5 , replacing Winlogbeat with a Fleet-managed Elastic Agent . One PowerShell command deploys Elasticsearch, Kibana, Fleet Server, Logstash and Grafana 13.3.0 in Docker, then installs and enrolls Elastic Agent on the Windows host. This post walks through the design and the problems I hit, which are worth knowing about if you automate Fleet yourself.

This is the follow-up to my earlier ELK + Grafana + Winlogbeat post .

What you get

Component Version Role

Elasticsearch 9.5.5 Storage and search

Kibana 9.5.5 Search, Security, Observability and Fleet UI

Fleet Server 9.5.5 (container) Distributes policies to agents

Elastic Agent 9.5.5 (Windows host) Collects event logs and host metrics

Logstash 9.5.5 Optional Beats input

Grafana 13.3.0 Dashboards

It targets Docker Engine 29.x with Compose v2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.