I'm not surprised you suffered gastro-intestinal upset when you added fiber to a keto diet. Your gut biome was adapted to a low fiber, high fat diet. Rapid changes in dietary composition will frequently cause this issue. One solution to this problem is to consume your fiber along with a probiotic supplement, or preferably a live culture fermented food such as unpasteurized sauerkraut/kimchi/greek yogurt. Beans (particularly lentils) are the most nutritious fiber source, but if you want to stick with the keto diet, you should use inulin instead of psyllium husk, as there is more research demonstrating its efficacy. You may still encounter some GI upset even with a probiotic, but it should decrease as your gut biota adapts over the course of a week or two.
For references, there are plenty. Specifically want to look for material related to short chain fatty acids, particularly butyrate, and their role in modulating the immune system, and as histone deacetylase inhibitors. Here are a few reviews to get you started:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4259177/
http://www.nature.com/ijo/journal/v39/n9/full/ijo201584a.htm...
Additionally, I should note that blue zone diets are all high in fermentable carbohydrates, and increased concentrations of short chain fatty acids have been observed in the stool of centenarian populations:
http://www.mdpi.com/2072-6643/8/9/564/htm
Which supports evidence in model organisms such as yeast and fruit flies that butyrate (a short chain fatty acid) extends average lifespan:
https://link.springer.com/article/10.1134/S2079057013010153