How to address json objects in a json array in jdbc-output-plugin logstash conf?

for example you have this json array :

{ 
  "accounting" : [   
                     { "firstName" : "John",  
                       "lastName"  : "Doe",
                       "age"       : 23 },

                     { "firstName" : "Mary",  
                       "lastName"  : "Smith",
                        "age"      : 32 }
                 ],                            
  "sales"      : [ 
                     { "firstName" : "Sally", 
                       "lastName"  : "Green",
                        "age"      : 27 },

                     { "firstName" : "Jim",   
                       "lastName"  : "Galley",
                       "age"       : 41 }
                 ] 
} 

how to address an map sales.firstName to a table in mysql db with jdbc-output-plugin logstash?

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