# Can Logstash accepts GraphQL data and convert into json?

**URL:** <https://discuss.elastic.co/t/can-logstash-accepts-graphql-data-and-convert-into-json/265055>\
**Category:** Logstash\
**Created:** [February 22, 2021, 11:00am UTC](https://discuss.elastic.co/t/can-logstash-accepts-graphql-data-and-convert-into-json/265055 "2021-02-22T11:00:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankitdevnalkar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankitdevnalkar/32/46158_2.png) [@ankitdevnalkar](https://discuss.elastic.co/u/ankitdevnalkar)\
**Post date:** [February 22, 2021, 11:00am UTC](https://discuss.elastic.co/t/can-logstash-accepts-graphql-data-and-convert-into-json/265055/1 "2021-02-22T11:00:48Z")

</div>

I have one endpoint giving data in GarphQL, is it possible to add a `codec` filter to parse data from GraphQL to JSON ? or is there any way I can covert GraphQL data to Elasticsearch readable format?

---

<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:** [March 22, 2021, 11:01am UTC](https://discuss.elastic.co/t/can-logstash-accepts-graphql-data-and-convert-into-json/265055/2 "2021-03-22T11:01:39Z")

</div>

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