Increase flow timeout in Azure virtual network

José Antonio Trejo Gutiérrez 45 Reputation points
2023-06-05T20:14:44.6733333+00:00

Good day,

I have an Azure virtual network and I have configured the flow timeout to 30 minutes, however I need to increase this timeout to at least 2 hours because I have processes that take more than 30 minutes to respond.Captura de pantalla de 2023-06-05 13-59-22

Azure Red Hat OpenShift
Azure Red Hat OpenShift
An Azure service that provides a flexible, self-service deployment of fully managed OpenShift clusters.
81 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,263 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,001 questions
{count} vote

Accepted answer
  1. ChaitanyaNaykodi-MSFT 24,231 Reputation points Microsoft Employee
    2023-07-15T00:37:45.9666667+00:00

    @José Antonio Trejo Gutiérrez Please dis-regard the answer above as the answer provided was regarding flow log retention period.

    I understand you wish to know if the Flow Timeout can be increased beyond 30 mins. Currently as documented here the upper limit is 30 mins for this property. Based on our communication internally, Flow Timeout cannot be increased beyond 30 mins as this is a limitation by design.

    Hope this answers your question. Please let me know if you have any additional questions.

    Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


2 additional answers

Sort by: Most helpful
  1. Grmacjon-MSFT 17,286 Reputation points
    2023-06-06T03:40:11.1333333+00:00

    Hi @José Antonio Trejo Gutiérrez ,

    Thanks for the question. You can increase the flow timeout for your virtual network in Azure, either by through Azure Portal or Azure PowerShell. Since it looks like you used the portal to set it up in the first place, follow the steps below to increase the flow timeout via the portal:

    1. Open the Azure Portal and navigate to your virtual network.
    2. Click on "Flow logs" in the left-hand menu.
    3. Click on the flow log you want to modify.
    4. Click on "Edit" to edit the flow log settings.
    5. In the "Flow log settings" pane, scroll down to the "Flow log format" section.
    6. Change the "Flow log format" to "JSON".
    7. In the "Flow log retention" section, change the "Retention period" to the desired value (e.g. 2 hours. 3 hours, etc).
    8. Click on "Save" to save the changes.

    Hope that helped. Please let us know if you have further questions.

    -Grace

    0 comments No comments

  2. José Antonio Trejo Gutiérrez 45 Reputation points
    2023-06-07T02:21:06.68+00:00

    Captura de pantalla de 2023-06-06 20-22-28

    Thank you very much @Grmacjon-MSFT , we really appreciate your help, unfortunately in our virtual network we don't have the Flow Logs option, so we have no idea how to proceed.

    0 comments No comments