I am trying to create a dashboard with a search that shows the top 10 entries but I also need to be able to export all the results
The export option is underneath the time picker, and you should be able to choose csv.
You may want to filter your fields with the table command.
index=_internal | table source sourcetype event_message | head 10
Or, some other "transforming" command.
index=_internal | top sourcetype