Hi ,
In splunk query i need to convert time format as below .
Current format - 08:09.23 AM, Fri 06/10/2016
Required Format : 10/06/2016 08:09:23
Hi
Check this and ensure 08:09:23 AM
or 08:09.23 AM
[Updated]
| makeresults
| eval temp="08:09:23 AM, Fri 06/10/2016"
| eval result = strftime(strptime(temp,"%I:%M:%S %p, %a %m/%d/%Y"),"%d/%m/%Y %H:%M:%S")
Hi
Check this and ensure 08:09:23 AM
or 08:09.23 AM
[Updated]
| makeresults
| eval temp="08:09:23 AM, Fri 06/10/2016"
| eval result = strftime(strptime(temp,"%I:%M:%S %p, %a %m/%d/%Y"),"%d/%m/%Y %H:%M:%S")