Using Curl to Query Splunk

Do the Search The search will run in the background. curl -k -u joel:"Not my real passw0rd" https://splunk-logs-api.gadgetwiz.com/services/search/jobs -d index='birdfart' -d host='host www*' -d search='search messagestoparse*' -d output_mode=json Next. Check…

0 Comments

Upload Docker image to custom repository

docker build -t docker.gadgetwiz.com/myproject/hello-world-python . docker push docker.gadgetwiz.com/myproject/hello-world-python Copied from hello-world readme Successfully built 7d692d619894 Successfully tagged datawire/hello-world:latest ``` ### Run it in Docker Build the image first, then launch…

0 Comments

Merge GIT Fork with Master

Add an upstream source and name it ( Before doing anything, you need to tell Git where to find the upstream fork. git remote add realmaster https://github.com/whoiforkedfrom/upstream_repo.git Then you can…

0 Comments

Kubernetes on Digital Ocean

After starting Kubernets (configure kubectl automatically): doctl kubernetes cluster kubeconfig save my-cluster-name Fix : invalid object doesn't have additional properties After installing kubectl with brew you should run: rm /usr/local/bin/kubectlbrew…

0 Comments

Spinning up a Kubernetes cluster (notes)

INSTALL VirtualBox Instance via vagrant mkdir ubuntu vagrant init ubuntu/xenial64 vagrant up vagrant ssh OR vagrant get-config???? kops wget https://github.com/kubernetes/kops/releases/download/1.12.1/kops-linux-amd64 chmod +x kops-linux-amd64 sudo mv kops-linux-amd64 /usr/local/bin/kops awscli sudo apt-get…

0 Comments

Apache Notes

Setup server-status handler on Apache 1) Download rstatd. 2) Build and install rstatd: $ tar xvzf rstatd.tar.gz $ cd rpc.rstatd $ ./configure --prefix=/usr $ make # sudo su # make…

0 Comments

End of content

No more pages to load