Hogg, who was described as being “angry” and “controlling” during the relationship, left his victim scared by his behaviour when he had been drinking.
She reported “wishing for it to be morning as quickly as possible so that he would sober up and things would stop”.
The charge also involved Hogg monitoring his wife’s movements through the Find My Phone app after they had split up in 2023, and him sending her sometimes hundreds of text messages in the space of a few hours.
The court heard that Hogg now lives abroad and is in the process of a divorce.
Following the sentencing, Det Sgt Jade Wardell said that the force would not tolerate domestic abuse “of any kind”.
She added: “Without the victim coming forward and reporting these incidents to us, we would not have been able to ensure that Hogg faces the consequences.”
The former Glasgow Warriors fullback amassed a century of senior caps for his country and was involved in three British and Irish Lions tours.
He remains one of Scotland’s all-time leading try scorers and was awarded an MBE in the 2024 New Year honours list for services to rugby union.
Hogg came out of retirement last summer to sign a two-year contract with Montpellier.