I have an API that is set up in API management, and I'm using the log-to-eventhub policy to send data to an event hub after an API call. Is there a way to use data within the request to set the partition-key value in the policy? What kinds of values can I pass to the partition-key attribute?
Can I use policy expressions like these?: https://msdn.microsoft.com/library/azure/dn910913.aspx#PolicyExpressionsUsage
Do you have any examples of partition-keys passed with this policies that aren't just constant strings? I'm having trouble finding any examples of this.