Splunk timestamp extraction to epoch | How to extract year, date, time using strftime and strptime

preview_player
Показать описание
Hello Friends, Welcome back to my channel. In this tutorial we are going to see about date and time format, how we can strip out a part of timestamp like year, month , date, hour etc. You will be able to learn about timestamp extraction using splunk strptime strftime functions. We will make use of the commands eval and functions strftime() and strptime()in this tutorial. We will also have a quick view on the functions now() and time().

------------------------------------------------------------------------------------------
Setup Splunk on Linux:
------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
How to create Splunk app:
----------------------------------------------------------------------------------------

Sample command used in tutorial:

============================================
Follow me @:

=============================================
Music credit: "Royalty Free Music from Bensound"
Рекомендации по теме
Комментарии
Автор

Good video sir, please make the video Internal Log Analysis, thank you sir.

valishaik
Автор

nice information. Can we do same using spath..if yes please provide me statement which removing time zone information from date field.
Like below - 09/30/2020 14:59:59.000 UTC --> output should be 09/30/2020 14:59:59.000

sanketkhunte