# Logstash http poller question

**URL:** https://discuss.elastic.co/t/logstash-http-poller-question/161409
**Category:** Logstash
**Created:** [December 18, 2018, 8:24pm UTC](https://discuss.elastic.co/t/logstash-http-poller-question/161409 "2018-12-18T20:24:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ryan\_Ivis](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Ryan\_Ivis](https://discuss.elastic.co/u/Ryan_Ivis)
#### Post date: [December 18, 2018, 8:24pm UTC](https://discuss.elastic.co/t/logstash-http-poller-question/161409/1 "2018-12-18T20:24:32Z")

</div>

Curious if anybody here has used the logstash input http poller to reach out and pull info from google api's.

I have generated a API project as well as enabled a few api's and generated credentials for those API's which appear to have the following format.

{  
"type": "service\_account",  
"project\_id": "security-elk-integrations",  
"private\_key\_id": "",  
"private\_key": "",  
"client\_email": "",  
"client\_id": "",  
"auth\_uri": "",  
"token\_uri": "",  
"auth\_provider\_x509\_cert\_url": "",  
"client\_x509\_cert\_url": ""  
}

I am now trying to figure out how to use the http poller to reach out and pull data from the Google API.

Any tips would be a huge help.

---

<div class="post-metadata">

### Author: ![Ryan\_Ivis](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Ryan\_Ivis](https://discuss.elastic.co/u/Ryan_Ivis)
#### Post date: [December 18, 2018, 8:41pm UTC](https://discuss.elastic.co/t/logstash-http-poller-question/161409/2 "2018-12-18T20:41:41Z")

</div>

Bottom of this document. [https://developers.google.com/identity/protocols/OAuth2ServiceAccount](https://developers.google.com/identity/protocols/OAuth2ServiceAccount)

---

<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: [January 15, 2019, 8:41pm UTC](https://discuss.elastic.co/t/logstash-http-poller-question/161409/3 "2019-01-15T20:41:43Z")

</div>

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