Lensflares from horison

Lens flares are based on bloom. If there is something as bright as the sun it will also show lens flares. If it’s not as bright but also glowing you can adjust the bloom settings (in particular the Threshold value) of your post process volume, so it won’t show neither bloom nor lens flares.