1.config and thrift scripts for logservice and searchservice