add code to index logs directly into solr using json