Yeah, I did something similar. (It showed a significant reduction in symptoms when I started Amitriptyline btw)
Then I found an app, mentioned in the site wiki here to track symptom and triggers.
They even incorporated a feature I proposed (export).
It does trigger correlation for you. However, the reality is that its still very hard to pin things down.