# Issue while trying to put Twitter data into a file

**URL:** <https://discuss.elastic.co/t/issue-while-trying-to-put-twitter-data-into-a-file/78378>\
**Category:** Logstash\
**Created:** [March 13, 2017, 4:08pm UTC](https://discuss.elastic.co/t/issue-while-trying-to-put-twitter-data-into-a-file/78378 "2017-03-13T16:08:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincent2mots](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vincent2mots/32/55226_2.png) [@vincent2mots](https://discuss.elastic.co/u/vincent2mots)\
**Post date:** [March 13, 2017, 4:08pm UTC](https://discuss.elastic.co/t/issue-while-trying-to-put-twitter-data-into-a-file/78378/1 "2017-03-13T16:08:29Z")

</div>

Hi there,

Here's my issue : I try to put Twitter data into a file (to begin) using Logstash 5.2.2.

Here is my config file :

> input {  
> twitter {  
> consumer\_key =\> "XXX"  
> consumer\_secret =\> "XXX"  
> oauth\_token =\> "XXX"  
> oauth\_token\_secret =\> "XXX"  
> keywords =\> ["VieillesCharrues"]  
> full\_tweet =\> true  
> }  
> }

> output {  
> file {  
> path =\> "/home/administrateur/Bureau/VieillesCharrues.json"  
> }  
> }

When I run logstash, it stays stuck in here :

 ![](https://us1.discourse-cdn.com/elastic/original/3X/d/d/dd220b1617f0cab4fec0353258105256dc3c10a0.JPG)

Could you please tell me where I am wrong?

- In my Twitter application settings?
- In my config file?
- ...?

Thanks you very much!!

Best regards,

---

<div class="post-metadata">

**Author:** ![vincent2mots](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vincent2mots/32/55226_2.png) [@vincent2mots](https://discuss.elastic.co/u/vincent2mots)\
**Post date:** [March 13, 2017, 4:29pm UTC](https://discuss.elastic.co/t/issue-while-trying-to-put-twitter-data-into-a-file/78378/2 "2017-03-13T16:29:28Z")

</div>

Hé hé... I think I just figured it out...

I simply had to wait for a new tweet...

---

<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:** [April 10, 2017, 4:29pm UTC](https://discuss.elastic.co/t/issue-while-trying-to-put-twitter-data-into-a-file/78378/3 "2017-04-10T16:29:35Z")

</div>

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