
Find the largest files under the linux folder - recursively
sudo du -a /opt/splunk/etc/ | sort -n -r | head -n 20
sudo du -a /opt/splunk/etc/ | sort -n -r | head -n 20
ps -ex | grep --color SPLUNK_DB
…or create a new repository on the command line echo "# auto_ldap" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/appletreecy/auto_ldap.git git push -u origin main …or push an existing repository from the command line git remote add origin https://github.com/appletreecy/auto_ldap.git git branch -M main git push -u origin main
Certificate is the public key.
find -name '*.conf' -exec grep 'server.pem' {} + grep ERROR splunkd.log | awk '{count[$5]++} END {for (ERROR in count) print ERROR, count[ERROR]}' | sort -k2 -nr dd if=/dev/zero of=/opt/splunk/var/lib/splunk/tmptestfile bs=8k count=$((4*1024*1024/8)) conv=fdatasync,fsync oflag=direct
openssl s_client -showcerts -connect 10.10.10.10:9997 openssl x509 -noout -in server.pem -text
distsearch.conf -- SH side maxBundleSize server.conf - IDX side max_content_length Knowledge bundles locations: SH -- var/run/*.bundle or *.delta IDX-- var/run/searchpeer *.bundle or *.delta
ls -lhtr |sort -nr find / -type f -size +100M du -skh * | sort -nr du -a /dir/ | sort -n -r | head -n 20. tar -tvf sh-i-0cfa1f8cb51e69c62.unimelb.splunkcloud.com-1583003015.bundle | sort -nr -k3 | head -n 20
1. git add -A 2. git commit -m "" 3. git status 4. git push -u origin master 5. git pull
export FLASK_APP=run.py flask run --host=0.0.0.0 --port=5001
You can put any information here you'd like.