Thursday, February 23, 2017

How to run graylog cluster in kubernetes

Graylog is the splunk equivalent for log collection, indexing , search analysis function.


I am playing around with it little bit and seeing the functions, so i need a quick installed version in 

  1. If OS X install minikube https://kubernetes.io/docs/getting-started-guides/minikube/#minikube-features
  2. Running graylog cluster : 
    • #kubectl run graylog --image=graylog2/allinone --port=9000
  3. Forward TCP:9000 to show the graylog UI 
    • #kubectl port-forward graylog-2473246842-b6rhg 9000 &
  4. To view UI : point your browser to : http://127.0.0.1:9000
    • admin/admin is the default username and password
  5. To view logs of graylog pods : 
    • #kubectl get pods ( this should give an output of running graylog container instance )
    • #kubectl logs graylog-2473246842-b6rhg


3 comments:

  1. Nice Post! Thank you for sharing very good post, it was so nice to read and useful to improve my knowledge as updated one, keep blogging.
    Google Cloud Platform Training
    GCP Online Training
    Google Cloud Platform Training In Hyderabad

    ReplyDelete
  2. Very good explanation. Thank you for sharing.
    Docker Online Training

    ReplyDelete
  3. Your blog is in a convincing manner, thanks for sharing such an information with lots of your effort and time
    Kubernetes online training India
    Kubernetes online training Hyderabad

    ReplyDelete

bee-social