code: def search(search_text, config=None):
      
      storm_ = get_storm_instance(config)
  
      try:
          results = storm_.search_host(search_text)
          if len(results) == 0:
              print ('no results found.')
  
          if len(results) > 0:
              message = 'Listing results for {0}:\n'.format(search_text)
              message += "".join(results)
              print(message)
      except Exception as error:
          print(get_formatted_message(str(error), 'error'), file=sys.stderr)
          sys.exit(1)
docs: Searches entries by given search text.