CIM compliant date field




I'm trying to format the date field for the malware data model.  Converting it from epoc.  But I dont know what format is wants I've guessed a bunch of different formats but it says they are unexpected.


"unexpected values"


| convert ctime(date) timeformat="%Y-%m-%dT%H:%M:%S"


| convert ctime(date) timeformat=" WHAT FORMAT SHOULD THIS BE?"

Labels (1)
0 Karma


Hi @lilredcrawfish 

Your timeformat is correct, testing an epoc date works fine. 

| makeresults | eval date="1623216888" 
| convert ctime(date) as new_date timeformat="%Y-%m-%dT%H:%M:%S" 
| table new_date

 Did you check your date fiels is the right epoc format?


An upvote would be appreciated if it helps! 

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...