add test cookbook
test adding logs by attributes