In this example we will use a Logic App to listen for events from a selected Event Hub, and then send the event(s) to AIMS. To be able to send events to AIMS you will need an "agent" representation of the data you will send in AIMS, you can read more about this here.
In the first step we listen for events coming from the selected Event Hub. Depending on how quickly you need the events in AIMS you need to adjust the polling frequency.
In the second step you setup the sending of the events to AIMS. You can choose to simply batch all the last events from the Event Hub as a single entry in AIMS (as shown below), or you can loop through the individual events and create separate events in AIMS.