Sure. With splunkd being our superstar, you can do this:
index=_internal | fields - tag::*
| foreach * [eval fieldnames = if(<<FIELD>>=="splunkd", mvappend(fieldnames, "<<FIELD>>"), fieldnames)]
| stats values(fieldnames)
For me that yields series
(from metrics logs) and sourcetype
(obvious).