Skip to main content
Solved

Cribl Search: Exporting _time in CSV format using extend and strftime

  • July 23, 2026
  • 2 replies
  • 0 views

jcartEntergy
This message originated from Cribl Community Slack.
Click here to view the original link.

This may have been answered before but I cannot find it. Is there a way in Search if the _time value is visually represented as 2026-05-27 17:11:51.000 and I export to CSV, to keep the time format? I did an export and got the numerical value 1776932840 .

Best answer by jrichardsonnthdegreeio

Hello @user, _time will likely always export as unix time, it is converted on screen for viewing purposes but remains unix time as its stored/exported. Your best bet would likely to create a new field with the extend function and then use strftime to output it in a desirable format. Here are links to Cribls documentation on both functions: extend: https://docs.cribl.io/search/extend/#extend strftime: https://docs.cribl.io/search/strftime/#strftime

2 replies

Hello @user, _time will likely always export as unix time, it is converted on screen for viewing purposes but remains unix time as its stored/exported. Your best bet would likely to create a new field with the extend function and then use strftime to output it in a desirable format. Here are links to Cribls documentation on both functions: extend: https://docs.cribl.io/search/extend/#extend strftime: https://docs.cribl.io/search/strftime/#strftime

jcartEntergy
  • Author
  • New Participant
  • July 23, 2026
Thank you.