Skip to content

Instantly share code, notes, and snippets.

79.172.141.87 - - [01/Feb/2022:06:40:58 +0000] "GET /wp-content HTTP/1.0" 200 5000 "https://thomas.com/search.jsp" "Mozilla/5.0 (iPad; CPU iPad OS 9_3_5 like Mac OS X) AppleWebKit/534.0 (KHTML, like Gecko) FxiOS/11.6r9285.0 Mobile/26R322 Safari/534.0"
17.67.206.39 - - [01/Feb/2022:06:41:28 +0000] "PUT /posts/posts/explore HTTP/1.0" 200 4966 "http://www.burns.net/" "Mozilla/5.0 (Windows NT 5.2; tt-RU; rv:1.9.1.20) Gecko/2015-05-23 16:51:49 Firefox/3.8"
180.54.101.99 - - [01/Feb/2022:06:42:31 +0000] "PUT /wp-content HTTP/1.0" 404 4943 "http://www.butler.org/posts/blog/register/" "Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; ckb-IQ) AppleWebKit/534.20.3 (KHTML, like Gecko) Version/4.0.5 Mobile/8B112 Safari/6534.20.3"
83.199.84.57 - - [01/Feb/2022:06:43:45 +0000] "GET /posts/posts/explore HTTP/1.0" 200 4973 "https://www.forbes.net/" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_6 like Mac OS X) AppleWebKit/531.2 (KHTML, like Gecko) CriOS/35.0.892.0 Mobile/71N101 Safari/531.2"
38.247.149.128 - - [01/Feb/2022:0
@agup006
agup006 / example-2.conf
Last active March 16, 2021 00:46
The following are labs for Fluent Bit that you can run
# Visualized https://link.calyptia.com/5ht
[SERVICE]
flush 1
log_level info
parsers_file parsers.conf
streams_file streams-2.conf
[INPUT]
name tail
path /var/log/apache/*.log
@agup006
agup006 / kubernetes.md
Last active October 21, 2022 14:48
Kubernetes Commands
#!/bin/bash
wget https://github.com/Microsoft/OMS-Agent-for-Linux/releases/download/OMSAgent_GA_v1.2.0-25/omsagent-1.2.0-25.universal.x64.sh -O /tmp/omsagent.x64.sh
sudo sh /tmp/omsagent.x64.sh --purge
#!/bin/bash
# Get the OMS Agent for Linux
wget https://github.com/Microsoft/OMS-Agent-for-Linux/releases/download/OMSAgent_GA_v1.2.0-25/omsagent-1.2.0-25.universal.x64.sh -O /tmp/omsagent-1.2.0-25.universal.x64.sh
# Install and onboard the OMS Agent for Linux
sh /tmp/omsagent-1.2.0-25.universal.x64.sh --upgrade -w $1 -s $2
# Get clean configuration
cp /etc/opt/microsoft/omsagent/sysconf/omsagent.conf /etc/opt/microsoft/omsagent/conf/omsagent.conf
#!/bin/bash
wget https://github.com/Microsoft/OMS-Agent-for-Linux/releases/download/v1.1.0-239/omsagent-1.1.0-239.universal.x64.sh -O /tmp/omsagent.sh
sh /tmp/omsagent.sh --upgrade -w $1 -s $2
cp /etc/opt/microsoft/omsagent/sysconf/omsagent.conf /etc/opt/microsoft/omsagent/conf/omsagent.conf
wget -O /etc/opt/microsoft/omsagent/conf/omsagent.d/hbase.conf http://ashishdata.blob.core.windows.net/oms/hbase.conf
sudo service omsagent restart