I have an app on my phone (android) called SensorLab. It shows a lot of interesting things, but perhaps the interesting part for you is the accelerometer, which shows acceleration on the 3 axis in m/s2.
I'm not sure if it has a logging feature or a data download feature, but it is at least proof that these reading can be taken from a phone.
May I ask what you are going to do with the data? It seems to me that knowing how often a plane/train vibrates your house is a rather useless piece of information on its own.
If it were me and I suddenly knew that the nearby train tracks rattle my house 12 times a day for an average duration of 6 minutes each, I would get annoyed by that fact even if I hadn't noticed most of them before (due to being at work or asleep) and I would probably be even more annoyed each time I noticed it.