# Trying to use the Google\_pubsub input plugin

**URL:** <https://discuss.elastic.co/t/trying-to-use-the-google-pubsub-input-plugin/131728>\
**Category:** Logstash\
**Created:** [May 14, 2018, 11:20am UTC](https://discuss.elastic.co/t/trying-to-use-the-google-pubsub-input-plugin/131728 "2018-05-14T11:20:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor\_Yampolsky](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Victor\_Yampolsky](https://discuss.elastic.co/u/Victor_Yampolsky)\
**Post date:** [May 14, 2018, 11:20am UTC](https://discuss.elastic.co/t/trying-to-use-the-google-pubsub-input-plugin/131728/1 "2018-05-14T11:20:24Z")

</div>

I use the bitnami elk for gcp.  
I didn't installed x-pack and just want to pull logs from google pub/sub to es:

```
input{
 google_pub_sub {
  project_id => proj123
  project_id => "projects/proj123/topics/logs"
  subscription => "projects/proj123/subscriptions/logstash"
 }
}
output{
 stdout {}
 elasticsearch {
  hosts => ["localhost:9200"]
  index => "logs" 
 }
}

```

now, the logs index does not exists and does not created on 'Publish message' from gcp.

is there something i'm missing here?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 16, 2018, 1:01pm UTC](https://discuss.elastic.co/t/trying-to-use-the-google-pubsub-input-plugin/131728/2 "2018-05-16T13:01:47Z")

</div>

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with `</>` icon. Check the preview window.

---

<div class="post-metadata">

**Author:** ![Victor\_Yampolsky](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Victor\_Yampolsky](https://discuss.elastic.co/u/Victor_Yampolsky)\
**Post date:** [May 16, 2018, 1:16pm UTC](https://discuss.elastic.co/t/trying-to-use-the-google-pubsub-input-plugin/131728/3 "2018-05-16T13:16:33Z")

</div>

Thanks, I'll pay more attention to this in my following posts.

Do you have an idea how to help with the problem?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 16, 2018, 1:22pm UTC](https://discuss.elastic.co/t/trying-to-use-the-google-pubsub-input-plugin/131728/4 "2018-05-16T13:22:57Z")

</div>

Please edit your post.

---

<div class="post-metadata">

**Author:** ![Victor\_Yampolsky](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Victor\_Yampolsky](https://discuss.elastic.co/u/Victor_Yampolsky)\
**Post date:** [May 16, 2018, 4:26pm UTC](https://discuss.elastic.co/t/trying-to-use-the-google-pubsub-input-plugin/131728/5 "2018-05-16T16:26:02Z")

</div>

sure, there.  
Do you have an idea how to help with the problem?

---

<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:** [June 13, 2018, 4:26pm UTC](https://discuss.elastic.co/t/trying-to-use-the-google-pubsub-input-plugin/131728/6 "2018-06-13T16:26:09Z")

</div>

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