Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ykzts/twitter-telegraf-plugin
Gather account information from Twitter accounts.
https://github.com/ykzts/twitter-telegraf-plugin
telegraf telegraf-plugin twitter
Last synced: 10 days ago
JSON representation
Gather account information from Twitter accounts.
- Host: GitHub
- URL: https://github.com/ykzts/twitter-telegraf-plugin
- Owner: ykzts
- License: mit
- Created: 2020-05-27T22:32:26.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-15T13:44:26.000Z (10 months ago)
- Last Synced: 2024-10-08T00:43:02.847Z (about 1 month ago)
- Topics: telegraf, telegraf-plugin, twitter
- Language: Go
- Homepage:
- Size: 6.39 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Twitter Telegraf Plugin
Gather account information from [Twitter](https://twitter.com/) accounts.
### Configuration
```toml
[[inputs.twitter]]
## List of accounts to monitor.
accounts = [
783214,
1967601206
]
## Twitter API consumer key.
# consumer_key = ""
## Twitter API consumer secret.
# consumer_secret = ""
## Twitter API access token.
# access_token = ""
## Twitter API access token secret.
# access_token_secret = ""
```### Metrics
- twitter_account
- tags:
- id - The ID of the account
- screen_name - The screen name
- fields:
- favourites (int)
- followers (int)
- friends (int)
- statuses (int64)### Example Output
```
twitter_account,id=1967601206,screen_name=InfluxDB followers=16688i,friends=4235i,statuses=11209i,favourites=7542i 1575008500000000000
twitter_account,id=783214,screen_name=Twitter favourites=6353i,followers=56766065i,friends=102i,statuses=12423i 1575008500000000000
```