How to mapping in nest constructure

My data structure is

{
   eventData :{
      level:6,
     class:beginner
   }
}

or

{
   eventData :{
      level:6,
     money:1000
   }
}

Please tell me how to mapping on this structure.
eventData have various constructure so we cannot make mapping when we make index.

Thank you.

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