How do I save Kibana dev tools console or history log

Hi guys ,
I want to save the queries or historical records I run in Devtools console into an index, is that possible?

I found the log files in the var/log/elasticsearch file path.