WIP: a kind of blog implementation written in Go integrated with fluentd and Elasticsearch
Go Makefile Nginx CSS
Latest commit e993548 Jan 7, 2017 @suzuken suzuken README: fix typo


blog sample

Build Status

A kind of blog for presentating EFK stack features.

  • Write, view and search blog posts.
  • Sing up, Login. Session is based on cookie.
  • Collect page views and search logs into Elasticsearch via fluentd in Real-Time.
  • Of course, you can view and analyze user actions in Elasticsearch and Kibana.

This repository includes following.


  • Docker

For local development,

  • Go (>= 1.8)
  • sqlite3

Using Docker: make run

If you using docker, it's easy to work with Elastic stack and fluentd!

# running docker containers by `docker-compose up -d`
make run

At the first time, docker-compose start creating containers. After starting containers, it's time to access Elasticsearch.

$ curl http://localhost:9200
  "name" : "Bsqcs2j",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "GTl5P_j6TNGKcrN4kVipew",
  "version" : {
    "number" : "5.1.1",
    "build_hash" : "5395e21",
    "build_date" : "2016-12-06T12:36:15.409Z",
    "build_snapshot" : false,
    "lucene_version" : "6.3.0"
  "tagline" : "You Know, for Search"

It works! And your Kibana console is also available on http://localhost:5601. If Elasticsearch is accecible, blog application can start up.

For contributor

At first, you should install dependencies to development.

make deps

To start a blog application locally, you just go run

go run main.go

To add some external packages, use godep. If you want to use Elasticsearch and/or Fluentd on docker container, you can specify each host via flag. When blog app running on container, Elasticsearch and Fluentd are accessed by using docker links.


UI Template is based on BlackrockDigital/startbootstrap-blog-post.




Kenta Suzuki (a.k.a. suzuken)