# Github plugin logstash example to connect to github repository

**URL:** <https://discuss.elastic.co/t/github-plugin-logstash-example-to-connect-to-github-repository/204687>\
**Category:** Logstash\
**Created:** [October 22, 2019, 3:52pm UTC](https://discuss.elastic.co/t/github-plugin-logstash-example-to-connect-to-github-repository/204687 "2019-10-22T15:52:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manu4387](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@manu4387](https://discuss.elastic.co/u/manu4387)\
**Post date:** [October 22, 2019, 3:52pm UTC](https://discuss.elastic.co/t/github-plugin-logstash-example-to-connect-to-github-repository/204687/1 "2019-10-22T15:52:42Z")

</div>

I found this plugin to use to connect to github.. is there any option or example to config the file.

[https://www.elastic.co/guide/en/logstash/7.4/plugins-inputs-github.html](https://www.elastic.co/guide/en/logstash/7.4/plugins-inputs-github.html)

---

<div class="post-metadata">

**Author:** ![manu4387](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@manu4387](https://discuss.elastic.co/u/manu4387)\
**Post date:** [October 23, 2019, 9:20am UTC](https://discuss.elastic.co/t/github-plugin-logstash-example-to-connect-to-github-repository/204687/2 "2019-10-23T09:20:08Z")

</div>

I configure this config file to ingest the data in elasticsearch nothing is happened

input { github {  
ip =\> "0.0.0.0"  
port =\> 443  
secret\_token =\> ["_**"] } }  
output {  
elasticsearch { hosts =\> ["localhost:9200"]  
user =\> "**"  
password =\> "_\*\*\*"  
}  
stdout { codec =\> rubydebug }  
}

any idea onto it

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 20, 2019, 9:20am UTC](https://discuss.elastic.co/t/github-plugin-logstash-example-to-connect-to-github-repository/204687/3 "2019-11-20T09:20:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
