how to export dynamic inventory list to some readable format ?

I am able to get dynamic inventory in GCP , can i know is there any method to filter ( as hostname and IP only ) and export to some txt format ?

thanx

Ajax