I have multiple event grids that are calling on the same azure function (python) to process the data when an event is received. I need to be able to determine from which azure event grid the event came from. Right now using the function below
logging.info('Python EventGrid trigger processed an event')
I have multiple event grids that are calling on the same azure function (python) to process the data when an event is received. I need to be able to determine from which azure event grid the event came from. Right now using the function below
logging.info('Python EventGrid trigger processed an event')
the results only contain
Python EventGrid trigger processed an event: {"id": "9002023100607253115026600000000000000xxxxxxxxxxxxxxxxxxxxxx", "data": {"some json data"}, "topic": null, "subject": null, "event_type": null}
i would like to specify a topic or subject per event grid event. Any suggestions how?
Thank you