Skip to content

Using a logstash pipeline to record everything we play on BFF.fm to our own elasticsearch instance and simultaneously scrobbling Last.FM

License

Notifications You must be signed in to change notification settings

BFFdotFM/logstash-scrobbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logstash-scrobbler

Since BFF.fm plays music all day long, we figured it would be fun to scrobble those tracks to Last.FM. Since we're also feeding the tracks into our elasticsearch instance, this logstash pipeline handles both.

We're consuming Creek's tracks API into the events, and them using some ruby filters to wrangle the Last.FM API signing for a simple http POST output all in Logstash.

Setup

  • Create a Last.FM app here: https://www.last.fm/api/account/create
  • Run npm install and node scripts/session.js to get a session token for your account
  • Add LASTFM_KEY, LASTFM_SECRET and LASTFM_SESSION to your Logstash keystore.

About

Using a logstash pipeline to record everything we play on BFF.fm to our own elasticsearch instance and simultaneously scrobbling Last.FM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published