NeoX  
                (Jason Payne)
               
                 
              
                  
                    June 26, 2019, 11:41am
                   
                   
              1 
               
             
            
              I want to be able to filter APM transactions by environment (env ) in Kibana.  This is available as an ECS field as shown here .
Is this supported in Elastic APM Agent yet?  I can't seem to find anything to do with labels in Span or the rest of the code.
             
            
               
               
               
            
            
           
          
            
            
              No, .NET Agent doesn't support global labels yet. There is an issue in the backlog - https://github.com/elastic/apm-agent-dotnet/issues/183 
             
            
               
               
               
            
            
           
          
            
              
                digitalron  
                (Ronald Tumulak)
               
              
                  
                    June 26, 2019, 12:32pm
                   
                   
              3 
               
             
            
              I'm using the environment  configuration option in JS-Base and Java agents. 
You can then filter on that in Kibana under service.environment .
I think it works for processor.event  type transaction  and metric  but not span
             
            
               
               
               
            
            
           
          
            
            
              Regarding service.environment   - .NET agent doesn't send it yet. Here is the issue .
Also IIUC OP wanted to send a set key/value pairs while service.environment  is just one string value.
             
            
               
               
               
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    July 17, 2019,  9:33am
                   
                   
              5 
               
             
            
              This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.