Can I see all transactions and spans filtered by the environment in Discover?

Hi! I'm trying to see all transactions and spans sent to Kibana in Discover to know if a change I made increased the amount of log. To achieve this, I was trying to see all spans and transactions filtered by the environment in Discover; however, it seems that only transactions have context.service.environment; therefore, it excludes the spans from Discover since they don't have context.service.environment.

Could someone tell me if it's possible not to exclude spans, or how can I see the number of logs added for a given environment in a given moment?

Sorry about the lack of response here. Spans also include environment under service.environment, same as for transactions.