# How to search for code in this GitHub?

**URL:** <https://discuss.elastic.co/t/how-to-search-for-code-in-this-github/242790>\
**Category:** Logstash\
**Created:** [July 27, 2020, 5:38pm UTC](https://discuss.elastic.co/t/how-to-search-for-code-in-this-github/242790 "2020-07-27T17:38:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thanhlam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thanhlam/32/78982_2.png) [@thanhlam](https://discuss.elastic.co/u/thanhlam)\
**Post date:** [July 27, 2020, 5:38pm UTC](https://discuss.elastic.co/t/how-to-search-for-code-in-this-github/242790/1 "2020-07-27T17:38:31Z")

</div>

Hello,  
I'm new to this GitHub but very interested in searching for code. So that I can find and learn how something works. Can someone point me to instructions on how to search for a text string for example in the code?  
Thanks!

---

<div class="post-metadata">

**Author:** ![thanhlam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thanhlam/32/78982_2.png) [@thanhlam](https://discuss.elastic.co/u/thanhlam)\
**Post date:** [August 3, 2020, 9:12pm UTC](https://discuss.elastic.co/t/how-to-search-for-code-in-this-github/242790/2 "2020-08-03T21:12:09Z")

</div>

Someone pointed me to [SourceGraph](https://sourcegraph.com/search) and I was able to search code in the elastic stack GitHub, using its web UI.

---

<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:** [August 31, 2020, 9:12pm UTC](https://discuss.elastic.co/t/how-to-search-for-code-in-this-github/242790/3 "2020-08-31T21:12:10Z")

</div>

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