Read the temperature from a DS18B20 temperature sensor on a Raspberry Pi This will print a Splunk-friendly key/value pair log line. Some code copy/pasted from Adafruit: http://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing/software