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 but I am having a hard time just console logging out the

How would one do this?

Thank you,