core: log: add indirect filtering

Change-Id: Id96a70f5450f9416583b7803dfe7a10aa6c98472
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>