Trying to use dataset name in a console.log

I am trying to console.log() some data information:

enter image description here

On this page, I have created a custom search that will filter using dataset.name but I am having a hard time just console logging out the dataset.name

How would one do this?

Thank you,

John.