i have made 2 tutorial videos on you to create the lightsaber visual effect with Blender. There are probably dozens of ways to do this, but this is mine. The control rig I use is inspired by the Video CoPilot Lightsaber tutorial.
The source footage I used is also from Video CoPilot.
Part 1: The Basic Effect
Part 2: Masking