Which version of the stack are you using? Which license?
You can edit your index pattern to filter out specific fields with the 'source filter' tab - Create an index pattern | Kibana Guide [7.10] | Elastic
Discover is a bit different from other kibana apps as it shows unmapped fields. Its understandable that you were confused by this.