buehler / twitterbeat Goto Github PK
View Code? Open in Web Editor NEWElasticBeat to download and index tweets of specified screen names
License: Other
ElasticBeat to download and index tweets of specified screen names
License: Other
I'm trying to install twitterbeat with the following way :
go install github.com/buehler/twitterbeat/
but I encounter an error message :
github.com/buehler/twitterbeat/beater/twitterbeat.go:26:13: undefined: publisher.Client
How can I fix this problem to use twitterbeat ?
I have the go version 1.9
and elastic/beat 6.2.4.
It seems that the object "Client" has been removed in "github/elastic/beats/libbeat/publisher", I find a type "Client" only on "github/elastic/beats/libbeat/publisher/pipeline/client.go".
Does "import", import directory or also subdirectories ?
Hi,
I have compiled Twitterbeat with Go (in Linux), and when I execute :
./twitterbeat -e -c twitterbeat.yml -d "*"
I receive an error "AccessKey was not set in config", however, I have written all keys from Twitter. I add log's output in order to you can see it:
2016/04/26 09:09:26.041438 filter.go:41: DBG configuration []
2016/04/26 09:09:26.041628 filter.go:52: DBG filters:
2016/04/26 09:09:26.041776 beat.go:203: DBG Filters:
2016/04/26 09:09:26.041943 twitterbeat.go:47: INFO Loading configuration
2016/04/26 09:09:26.043919 beat.go:314: CRIT Exiting: Defaults could not be set: Mandatory field "AccessKey" was not set in config.
Exiting: Defaults could not be set: Mandatory field "AccessKey" was not set in config.
I have done a simple configuration in twitterbeat.yml:
twitterbeat:
Defines how often an event is sent to the output
period: ${PERIOD:60s}
twitter:
Defines the catched usernames (screennames)
names: ${SCREEN_NAMES:["@buehler_c", "@smartive_ch", "@iamdevloper"]}
Defines the api and consumer key from twitter api
consumer_key: ${CONSUMER_KEY:my_consumer_key}
consumer_secret: ${CONSUMER_SECRET:my_consumer_secret}
access_key: ${ACCESS_KEY:my_acces_key}
access_secret: ${ACCESS_SECRET:my_acces_secret}
I think that this problem is due to Proxy because without it, it works. What is the correct configuration in the case of using Proxy?
Proxy server url
proxy_url: "http://user:password@proxy:80"
Thanks in advance,
Regards
docker run -d --net host buehler/go-elastic-twitterbeat
Yes I'm passing all required variables.
docker logs <container>
Start error: loading config file error: YAML config parsing failed on /var/twitterbeat/config/twitterbeat.yml: yaml: line 10: found character that cannot start any token. Exiting.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.