I have a file with timestamps for hits on a system. How can I feed this into the RRDtool database (or other similar solution), so that I can plot a time graph?
Asked
Active
Viewed 972 times
0
-
What is the format of your file. is that in CSV ? – Space Apr 20 '10 at 06:34
1 Answers
1
Use an ABSOLUTE type datasource and for every event you see do a
rrdtool update log.rrd $stamp:1
If you want to track different events, have multiple rrd files. You can then pull them all together into a single graph.
$stamp is the unix time format (seconds since 1970) so you have to convert the timestamps in your logfile first.

Tobi Oetiker
- 5,167
- 2
- 17
- 23