# I am using EVENTHUB input Plugin of Logstash for Capturing Azure event hub Audit logs. But there is Data loss

**URL:** <https://discuss.elastic.co/t/i-am-using-eventhub-input-plugin-of-logstash-for-capturing-azure-event-hub-audit-logs-but-there-is-data-loss/340994>\
**Category:** Logstash\
**Created:** [August 17, 2023, 10:21am UTC](https://discuss.elastic.co/t/i-am-using-eventhub-input-plugin-of-logstash-for-capturing-azure-event-hub-audit-logs-but-there-is-data-loss/340994 "2023-08-17T10:21:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subrato1](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@Subrato1](https://discuss.elastic.co/u/Subrato1)\
**Post date:** [August 17, 2023, 10:21am UTC](https://discuss.elastic.co/t/i-am-using-eventhub-input-plugin-of-logstash-for-capturing-azure-event-hub-audit-logs-but-there-is-data-loss/340994/1 "2023-08-17T10:21:17Z")

</div>

Below Configuration We are using:

```auto
input
	{
		azure_event_hubs 
				{
					config_mode => "basic"
					#Insert primary connection string from shared access policies in event hub namespace from azure portal
					event_hub_connections => ["<Shared Acess Policy 1>;EntityPath=<eventhubname1>","<Shared Acess Policy 2>;EntityPath=<eventhubname2>"]
					initial_position => "end"
					threads => 16
					decorate_events => true
					consumer_group => "Consumer group name"
					type => "<type name>"    
				}
	}

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 14, 2023, 10:21am UTC](https://discuss.elastic.co/t/i-am-using-eventhub-input-plugin-of-logstash-for-capturing-azure-event-hub-audit-logs-but-there-is-data-loss/340994/2 "2023-09-14T10:21:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
