Replacing logs block in main view with query in system block