But the log says 017.002.100.103. I am receiving data from universal forwarder and I would like to remove 0 in front of me Is there a way?
i want 17.2.100.103
 
		
		
		
		
		
	
			
		
		
			
					
		| makeresults | eval ip="017.002.100.103" 
| eval ip=replace(ip,"(^|\.)(0*)(\d+)","\1\3") 
					
				
		
In search, you can do something like this
| makeresults | eval ip="017.002.100.103" 
| eval ip=replace(ip,"^0*(.+)","\1") The command is removed only at the beginning I want every part of it
 
		
		
		
		
		
	
			
		
		
			
					
		| makeresults | eval ip="017.002.100.103" 
| eval ip=replace(ip,"(^|\.)(0*)(\d+)","\1\3")