Blog

Monitoring Azure DC/OS microservices on terminal

If you like your realtime logs monitoring on terminal from anywhere while using your favourite searching and colouring tools like me, then you must read this.
Azure DC/OS is a great tool, but getting the logs from each microservice instance using the dashboard is slow and complected.
So for the rescue here comes dc/os CLI.
This command line utility will make you life much easier in just a couple of steps
Good luck  and happy debugging ... :)

  1. First ssh into your master dc/os node [help!]
  2. Install dc/os CLI like this.
  3. Then just type 'dcos task log <your-micro-service-name-here>  --follow'
    1. This will aggregate logs from all instances of this service.
  4. To see logs of the master just type 'dcos node log --leader --follow'
  5. To lean some more cool commands - read here. here and here