title: Apache Nifi - Extract Attributes From Avro
body: <p>I'm trying to get my head around on extracting attributes from Avro and JSON. I'm able to extract attributes from JSON by using <code>EvaluateJsonPath</code> processor. I'm trying to do the same on Avro, but i'm not sure whether it is achievable.</p>
  
  <p>Here is my flow, <code>ExecuteSQL</code> -> <code>SplitAvro</code> -> <code>UpdateAttribute</code></p>
  
  <p><code>UpdateAttribute</code> is the processor where i want to extract the attributes. Please find below snapshot of <code>UpdateAttribute</code> processor,</p>
  
  <p><a href="https://i.stack.imgur.com/7p0CV.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/7p0CV.jpg" alt="UpdateAttribute Processor COnfiguration"></a></p>
  
  <p>So, my basic question is, could we extract attributes form Avro? If yes, please provide me the right approach. Or is it necessary to use <code>ConvertAvroToJSON</code> always before extracting the attributes?</p>