英題:Fluentd Hacking Guide
30分しかないため斜線部分は今回省く
- Fluentd の起動シーケンスとプラグインの読み込み
Fluentd の設定ファイルのパース- Input Plugin から Output Plugin にデータが渡る流れ
express = require("express") | |
request = require("request") | |
BufferList = require("bufferlist").BufferList | |
app = express.createServer(express.logger(), express.bodyParser()) | |
app.get "/", (req, res) -> | |
if req.param("url") | |
url = unescape(req.param("url")) | |
request | |
uri: url | |
encoding: 'binary' |
#!/bin/bash | |
user="[email protected]" | |
pass="yourpassword" | |
to="[email protected]" | |
( sleep 1 | |
echo "EHLO `hostname`" | |
sleep 1 | |
echo "AUTH PLAIN $(echo -en "$user\0$user\0$pass" | base64)" | |
sleep 1 |
#!/bin/bash | |
WORKING_DIR="dynamodb" | |
VERSION="dynamodb_local_2014-04-24" | |
ARCHIVE="${VERSION}.tar.gz" | |
URL="https://s3-us-west-2.amazonaws.com/dynamodb-local/${ARCHIVE}" | |
PID_FILE="${WORKING_DIR}/PID" | |
download() { |
server { | |
listen 80; | |
client_max_body_size 20M; | |
server_name {{ domain }}; | |
location /.well-known/acme-challenge/ { | |
alias /var/www/letsencrypt/.well-known/acme-challenge/; | |
try_files $uri =404; | |
access_log off; | |
} |
import * as cdk from "@aws-cdk/core"; | |
import * as glue from "@aws-cdk/aws-glue"; | |
import * as s3 from "@aws-cdk/aws-s3"; | |
import * as s3Deployment from "@aws-cdk/aws-s3-deployment"; | |
import * as iam from "@aws-cdk/aws-iam"; | |
import { replaceValues } from "./lib"; | |
import { config } from "dotenv"; | |
config(); | |
const PYTHON_VERSION = "3"; |