Skip to content

Instantly share code, notes, and snippets.

@nobuhikosekiya
nobuhikosekiya / ci-badge-tf-cloudtrail-s3-elasticagent.json
Last active August 9, 2025 16:13
es-pattern-testscripts-ci-results
{"label":"CI","message":"passing (2025.08.09T06:44:05Z)","schemaVersion":1,"color":"green"}
@nobuhikosekiya
nobuhikosekiya / Elastic-IaC-Examples.md
Last active August 9, 2025 06:45
My Elasticsearch IaC examples

All scripts intend to send data to Elasticsearch (creating Elasticsearch is not part of the script)

Terraform scripts

architecture Github repo Test Status
CloudTrail -> S3 -> Elastic agent on EC2 https://github.com/nobuhikosekiya/tf-cloudtrail-s3-elasticagent
S3 Acesss logs -> S3 -> SQS -> Elastic agent on EC2 https://github.com/nobuhikosekiya/tf-s3accesslog-s3-sqs-elasticagent
WAF logs -> S3 -> SQS -> Elastic agent on EC2 https://github.com/nobuhikosekiya/tf-waf-s3-sqs-elasticagent ![](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/nobuhikosekiya/0c60644e60f6f1b6de284d95c9e4a7a6/raw/ci-ba
@nobuhikosekiya
nobuhikosekiya / qiitablog-vectorsearch-elasticsearch.ipynb
Created December 26, 2023 05:30
qiitablog-vectorsearch-elasticsearch.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nobuhikosekiya
nobuhikosekiya / docker-compose.yml
Created December 6, 2023 08:35
my minimum docker compose for otel demo v1.5.0
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
version: '3.9'
x-default-logging: &logging
driver: "json-file"
options:
max-size: "5m"
max-file: "2"
@nobuhikosekiya
nobuhikosekiya / wls1221_deploy_samples.txt
Created September 30, 2016 02:02
REST API samples to deploy appilcations to WebLogic Server 12.2.1
#!/bin/sh
# Upload and deploy a app from local.
curl -v --user user:password -H X-Requested-By:MyClient -H Accept:application/json -H Content-Type:multipart/form-data \
-F "model={
name: 'myapp',
targets: [ { identity: [ 'servers' , 'AdminServer' ] } ]
}" \
-F "sourcePath=@target\myapp.war" -H "Prefer:respond-async" \
-X POST http://192.168.99.100:8001/management/weblogic/latest/edit/appDeployments