TIPS & TRICKS

Exploring Twitter data

Want to explore popular content on Twitter with Splunk queries? The new Twitter App for Splunk 4.3 provides a scripted input that automatically extracts data from Twitter’s public 1% sample stream.

You can quickly learn who has posted the most tweets recently,

index=twitter | top user.screen_name

see who has the most followers,

index=twitter | stats max(user.followers_count) by user.screen_name | sort -max(user.followers_count)

see the most popular user agents,

index=twitter | spath source | top source


and ask many other questions of interest.

Download it today and let us know what you think on Splunkbase.

If you are planning to write your own custom app to get data into Splunk, you may also find the source code to be a good reference.

----------------------------------------------------
Thanks!
David Foster

Splunk
Posted by

Splunk

Join the Discussion