Quantcast
Viewing all articles
Browse latest Browse all 47296

Can splunk convert a date to epoch time if the year is 1970

When running the search: | eval startTime="1970-01-01"| eval dateadded_epoch = strptime(startTime, "%Y-%m-%d")| table Jobname dateadded_epoch ![alt text][1] I get no results, but if the year is changed to 1971 I get the expected output. ![alt text][2] [1]: /storage/temp/73268-epoch1.png [2]: /storage/temp/73269-epoch2.png

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>