Replacing Auto-Generated Timestamps Before Exporting to Clickhouse

TLDR Krishnadas wanted to replace the auto-generated timestamp for exporting old logs to Clickhouse. nitya-signoz suggested a method for overriding the default timestamp.

Photo of Krishnadas
Krishnadas
Mon, 07 Aug 2023 08:38:44 UTC

<#C01HWQ1R0BC|support> Is it possible to replace the auto generated timestamp with another value before exporting to Clickhouse ? I am ingesting some old logs and could see that the timestamp on these logs in Signoz will be the time of ingesting the log. In the actual log line I have timestamp which would be of interest to anyone who is searching. Is it possible to customize the timegenerated filed ?

Photo of Ankit
Ankit
Mon, 07 Aug 2023 08:51:13 UTC

nitya-signoz please have a look

Photo of nitya-signoz
nitya-signoz
Mon, 07 Aug 2023 08:52:09 UTC

Use this for overriding the default timestamp