This document outlines the development of a system called Coalmine for analyzing social media data to detect potential threats. It describes collecting over 1 billion tweets per week from Twitter's API and storing the data. The analysis method involves both manual querying of the data as well as automated detection algorithms. Example case studies where Coalmine detected botnet command and control channels and spam are provided. Future work to improve Coalmine's scalability is also discussed.