DevOps Buzz
Search
K

logz.io

Integrate logz.io with K8s

Introduction

Logz.io is "Built on ELK and Grafana". It is a hosted solution and an easy way to integrate your cluster with ELK without worrying about the ELK setup itself.

Crea a Logz.io account

It has free with a trial version: https://logz.io/pricing/
Follow the instructions and create your account.

Deploy Logz.io fluentd on your cluster

First of all, get you account token. Click on the gear icon on the top right corner, Setting, General and get your token.
Download the manifest.
wget https://raw.githubusercontent.com/logzio/logzio-k8s/master/logzio-daemonset-rbc.yaml
Edit it.
nano logzio-daemonset-rbc.yaml
Change from:
...
- name: LOGZIO_TOKEN
value: "your logz.io account token"
- name: LOGZIO_URL
value: "your logz.io host url"
...
Change from:
...
- name: LOGZIO_TOKEN
value: "PUT YOUR ACCOUNT TOKEN HERE"
- name: LOGZIO_URL
value: "https://listener-wa.logz.io:8071"
...
Check the LOGZIO_URL for the region your created your account on: https://docs.logz.io/user-guide/accounts/account-region.html