# Read data from postgres and calling external api in Logstash

**URL:** https://discuss.elastic.co/t/read-data-from-postgres-and-calling-external-api-in-logstash/316398
**Category:** Logstash
**Created:** [October 12, 2022, 6:28am UTC](https://discuss.elastic.co/t/read-data-from-postgres-and-calling-external-api-in-logstash/316398 "2022-10-12T06:28:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mani7](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mani7](https://discuss.elastic.co/u/mani7)
#### Post date: [October 12, 2022, 6:28am UTC](https://discuss.elastic.co/t/read-data-from-postgres-and-calling-external-api-in-logstash/316398/1 "2022-10-12T06:28:19Z")

</div>

I am looking forward to read data from Postgres using Logstash, taking one value as a input to call one external api. and taking the output results of that. And storing into elastic.

Can anyone tell what all can be the possible ways to do 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 9, 2022, 6:28am UTC](https://discuss.elastic.co/t/read-data-from-postgres-and-calling-external-api-in-logstash/316398/2 "2022-11-09T06:28:29Z")

</div>

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