Skip to content

pablosilvab/elastic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elastic-Lib

Go Reference

This project allows writing logs to Elasticsearch.

Requirements

  • Go
  • Run Elasticsearch

For Elastic I use Docker

docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.6.2

Installation

Run

go get github.com/pablosilvab/elastic

Example 🚀

The example create an index and write a record in Elasticsearch.

make example

About

This lib allow write logs in ElasticSearch.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published