1
date not showing in SmarterMail logs
Question asked by IT Hezardastan - 11/2/2022 at 6:43 AM
Answered
I want to use Fluentbit to get our SmarterMail logs in to OpenSearch. I use regex to process logs but we don't have any timestamps in our logs.

Is there any location where I must enable this option?
I see the date has existed in thread a91870/timestamp-in-logs

I think the time and date have to show like that:
[date] time

but we don't have any dates!

Our logs:
00:00:02.969 [15332394] Delivery started for 
00:00:05.969 [15332394] Added to SpamCheckQueue 

3 Replies

Reply to Thread
1
Tony Scholz Replied
Employee Post Marked As Answer
Hello, 

The logs in SmarterMail do not have a date stamp in them. The DateStamp is the file name itself ( the date ). When the log is viewed from the web interface this date is added to the log, When viewing the physical file this is not present.  


07:12:41.706 [49454030] Added to SpamCheckQueue (0 queued; 2/30 processing)
07:12:41.706 [49454030] [SpamCheckQueue] Begin Processing.
07:12:41.706 [49454032] Blocked Sender Checks started.
07:12:41.706 [49454032] Unable to parse Command Line Path: 
Tony Scholz System/Network Administrator SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
IT Hezardastan Replied
Do you have any suggestion to add these types of logs to Fluent-bit?
0
Tony Scholz Replied
Employee Post
Hello, Depending on the software you are using you should be able to grab that from the file name and insert as you are reading the data in. Thank you
Tony Scholz System/Network Administrator SmarterTools Inc. (877) 357-6278 www.smartertools.com

Reply to Thread