Skip to content

Instantly share code, notes, and snippets.

View blakerouse's full-sized avatar

Blake Rouse blakerouse

View GitHub Profile
@blakerouse
blakerouse / fleet-simple.yml
Created January 27, 2022 20:19
Simple Elastic Agent Fleet Policy
id: 2016d7cc-135e-5583-9758-3ba01f5a06e5
revision: 3
outputs:
default:
type: elasticsearch
hosts:
- 'http://localhost:9200'
output_permissions:
default:
_elastic_agent_monitoring:
## GRPC Multi-processor
##
## fake -> processor-host -> processor-spooler -> output-elasticsearch
##
## Number of Events - 100/s
##
## CPU/Memory Usage
## input-fake - 0.7% - 8MB
## processor-host - 0.5% - 8MB
## processor-spooler - 1.8% - 10MB
@blakerouse
blakerouse / juju-transmogrify
Created May 17, 2019 07:50
Transmogrify a manual machine into a MAAS cloud
#!/usr/bin/env python3
import argparse
import ssl
import yaml
from subprocess import check_call
from pymongo import MongoClient