---
title: RSA NetWitness Azure Monitor collection is not starting due to invalid partition count for EventHub
description: "Issue\nAzure Monitor Collection configured using Azure Monitor Event Source Configuration Guide and Test connection failing with below error in message"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/rsa-netwitness-azure-monitor-collection-is-not-starting-due-to-invalid-partition-count-for-eventhub#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# RSA NetWitness Azure Monitor collection is not starting due to invalid partition count for EventHub

#### Issue

 Azure Monitor Collection configured using [Azure Monitor Event Source Configuration Guide](https://community.rsa.com/docs/DOC-101239) and Test connection failing with below error in messages.

**/var/log/messages:**

 Sep 1 12:51:03 LogCollector NwLogCollector\[38018\]: \[CmdScriptCollection\] \[info\] \[cmdscript:WrkUnit\[4\]payloadService:24261\] \[onLog:794\] \[azuremonitor.AzureLog \] \[processing\] \[WorkUnit\] \[processing\] 2020-09-01T12:51:01Z AzuremonitorCollector Starting events loop   
Sep 1 12:51:03 LogCollector NwLogCollector\[38018\]: \[CmdScriptCollection\] \[info\] \[cmdscript:WrkUnit\[4\]payloadService:24261\] \[onLog:794\] \[azuremonitor.AzureLog \] \[processing\] \[WorkUnit\] \[processing\] 2020-09-01T12:51:03Z AzuremonitorCollector pump: partition 1, sequence\_no -1   
Sep 1 12:51:03 LogCollector NwLogCollector\[38018\]: \[CmdScriptCollection\] \[info\] \[cmdscript:WrkUnit\[4\]payloadService:24261\] \[onLog:794\] \[azuremonitor.AzureLog \] \[processing\] \[WorkUnit\] \[processing\] 2020-09-01T12:51:03Z AzuremonitorCollector pump: partition 0, sequence\_no -1   
Sep 1 12:51:03 LogCollector NwLogCollector\[38018\]: \[CmdScriptCollection\] \[info\] \[cmdscript:WrkUnit\[4\]payloadService:24261\] \[onLog:794\] \[azuremonitor.AzureLog \] \[processing\] \[WorkUnit\] \[processing\] 2020-09-01T12:51:03Z AzuremonitorCollector pump: partition 2, sequence\_no -1   
Sep 1 12:51:03 LogCollector NwLogCollector\[38018\]: \[CmdScriptCollection\] \[failure\] \[cmdscript:WrkUnit\[4\]payloadService:24261\] \[onLog:800\] \[azuremonitor.AzureLogs\] \[processing\] \[WorkUnit\] \[processing\] 2020-09-01T12:51:03Z AzuremonitorCollector Got exception in Partition Pump 2. Exception The specified partition is invalid for an EventHub partition sender or receiver. It should be between 0 and 1.Parameter name: PartitionId TrackingId:18604e09a7c44466946e423292631974\_G17, SystemTracker:gateway5, Timestamp:2020-09-01T12:51:02com.microsoft:argument-out-of-range: The specified partition is invalid for an EventHub partition sender or receiver. It should be between 0 and 1.Parameter name: PartitionId TrackingId:18604e09a7c44466946e423292631974\_G17, SystemTracker:gateway5, Timestamp:2020-09-01T12:51:02   
Sep 1 12:51:03 LogCollector NwLogCollector\[38018\]: \[CmdScriptCollection\] \[failure\] \[cmdscript:WrkUnit\[4\]payloadService:24261\] \[onLog:800\] \[azuremonitor.AzureLogs\] \[processing\] \[WorkUnit\] \[processing\] 2020-09-01T12:51:03Z AzuremonitorCollector Aborting

#### Cause

 This issue is due to less number of partitions allocated for Event hub in Azure as below.   
![eventhub](https://mydev.netwitness.com/hs-fs/hubfs/Knowledge%20Base%20Import/rta_0_0b95412e-bb20-44bc-9bc1-e76bfee49553.jpg?width=500&height=307&name=rta_0_0b95412e-bb20-44bc-9bc1-e76bfee49553.jpg)

#### Resolution

 Please follow the below steps to verify the Event hub partition details.

1. Please login to Azure Portal.
2. On the Event Hubs Namespace page, select Event Hubs in the left menu.
3. Right-hand side the list of event hubs that are created and Partition count will be shown as above.  
    It is required to have 4 partitions for Event Hub as documented in Azure[Monitor Event Source Configuration Guide page](https://community.rsa.com/docs/DOC-101239) 3.
4. Please delete the Event hub with partition count 2 and Recreate Event hub with Partition count 4 and Message Retention 7 days using [Quickstart: Create an event hub using Azure portal](https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-create)
5. Once recreation of the event hub with correct partitions and all configuration as per the configuration guide done, Please test the connection in LogCollector for Azure Monitor instance and this test will be successful.
6. Also, verify Azure monitor logs in the Investigate page.

#### Product Details

**RSA Product Set:** RSA NetWitness Platform   
**RSA Product/Service Type:** Core Appliance   
**RSA Version/Condition:** 11.4.1.2   
**Platform:** CentOS   
**O/S Version:** 7

#### Summary

This document outlines the procedure to allocate valid partitions in EventHub and start Azure Monitor log collection.

#### Approval Reviewer Queue

RSA NetWitness Suite Approval Queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.