# Go and structured logging with ElasticSearch

DevFeed: [Go and structured logging with ElasticSearch](<https://devfeed.tech/articles/go-and-structured-logging-with-elasticsearch-29659.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/golang-elastic-search/>)

Author: sasha@goteleport.com (Sasha Klizhentas)

Published: 2016-01-01T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [Logging](<https://devfeed.tech/topics/logging.md>), [log management](<https://devfeed.tech/topics/log-management.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>), [kibana](<https://devfeed.tech/topics/kibana.md>), [Docker](<https://devfeed.tech/topics/docker.md>)

Tags: [beats](<https://devfeed.tech/tags/beats.md>), [docker](<https://devfeed.tech/tags/docker.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [format](<https://devfeed.tech/tags/format.md>), [framework](<https://devfeed.tech/tags/framework.md>), [go](<https://devfeed.tech/tags/go.md>), [kibana](<https://devfeed.tech/tags/kibana.md>), [logging](<https://devfeed.tech/tags/logging.md>), [udp](<https://devfeed.tech/tags/udp.md>)

## AI overview

This tutorial describes an experiment that uses Go, logrus, and Elastic Beats to emit structured logs over UDP and ship them to Elasticsearch. It also covers running Elasticsearch and Kibana with Docker and configuring the document schema and mappings.

## Source excerpt

We are playing with Elastic Beats, doing structured logging with Golang and Elastic Search