File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed 
pytest_splunk_addon/standard_lib/event_ingestors Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -116,19 +116,27 @@ def get_events(self):
116116                                    "hec_event" ,
117117                                ):
118118                                    transport_type  =  "modinput" 
119-                                     LOGGER .info (
120-                                         "sending data via HEC {}" .format (filename )
121-                                     )
122119                                    host , source , sourcetype  =  self .extract_params (
123120                                        event_tag 
124121                                    )
125122                                    LOGGER .info (
126-                                         f"sending data via HEC  { host } { source } { sourcetype }  
123+                                         f"sending data transport_type:modinput filename: { filename }  host: { host } source: { source } sourcetype: { sourcetype }  
127124                                    )
128125                                elif  transport_type  ==  "dbx" :
129126                                    transport_type  =  "modinput" 
127+                                     host , source , sourcetype  =  self .extract_params (
128+                                         event_tag 
129+                                     )
130+                                     LOGGER .info (
131+                                         f"sending data transport_type:dbx filename:{ filename } { host } { source } { sourcetype }  
132+                                     )
130133                                elif  transport_type  ==  "windows_input" :
131-                                     transport_type  =  "windows_input" 
134+                                     host , source , sourcetype  =  self .extract_params (
135+                                         event_tag 
136+                                     )
137+                                     LOGGER .info (
138+                                         f"sending data transport_type:windows_input filename:{ filename } { host } { source } { sourcetype }  
139+                                     )
132140                                else :
133141                                    transport_type  =  "default" 
134142                                unescaped_event  =  self .extract_raw_events (event_tag )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments