<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0306</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2017-12-13</periodOfReport>

    <dateOfOriginalSubmission>2017-12-15</dateOfOriginalSubmission>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001596532</issuerCik>
        <issuerName>Arista Networks, Inc.</issuerName>
        <issuerTradingSymbol>ANET</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001605808</rptOwnerCik>
            <rptOwnerName>Duda Kenneth</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O ARISTA NETWORKS, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>5453 GREAT AMERICA PARKWAY</rptOwnerStreet2>
            <rptOwnerCity>SANTA CLARA</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>95054</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>CTO and SVP Software Eng.</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2017-12-19</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>127576</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>235.1546</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>889568</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>by Trust</value>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">On December 13, 2017, the reporting person made an irrevocable contribution of 130,000 shares of ANET common stock to an exchange fund in exchange for shares of the exchange fund.  Upon the closing of the exchange fund on December 19, 2017, 127,576 shares of ANET common stock contributed by the reporting person were accepted by the exchange fund.  The reporting person is amending this Form 4 to reflect the final number of shares accepted by the exchange fund and the value of such shares.</footnote>
        <footnote id="F2">These shares are held by a family trust for which the reporting person is a trustee.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Marc Taxay, Attorney-in-Fact for Kenneth Duda</signatureName>
        <signatureDate>2017-12-21</signatureDate>
    </ownerSignature>
</ownershipDocument>
