Skip to content
/ gh2es Public

Tool to upload the GitHub issues from a repository into an Elasticsearch index

Notifications You must be signed in to change notification settings

ccojocar/gh2es

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh2es

This is a tool which allows to upload the issues from a GitHub repository into an Elasticsearch index.

Installation

You can install this tool with:

go get -u https://github.com/ccojocar/gh2es

Usage

The Elasticsearch index needs to be initialised first. It is recommended to keep one index per GitHub repository. You can achieve this by running the following command:

 gh2es init --endpoint https://<elasticserach-addresss> --file=index.json --index=github

This will create an index which has the name github with the properties described in the index.json file.

The issues can now be synced up from a GitHub repository into the index which has just been created. You can do this by running:

gh2es sync --endpoint https://<elasticsearch-address> --index=github --organisation=<github-org-name> --repository=<github-repository>

GitHub Authentication

The tools will parse the Github token either from the GITHUB_TOKEN environment variable, or from the configuration of the github/hub tool. This configuration is usually stored into ~/.config/hub file.

About

Tool to upload the GitHub issues from a repository into an Elasticsearch index

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages