This website uses cookies. By clicking OK, you consent to the use of cookies. Click Here to learn more about how we use cookies.
OK
  • RSA.com
  • Products
    • Archer®
      • Archer®
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Knowledge Base
      • Archer® Exchange
      • Training
      • Upcoming Events
      • Videos
    • RSA® Fraud & Risk Intelligence Suite
      • RSA® Fraud & Risk Intelligence Suite
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Web Threat Detection
      • Upcoming Events
      • Videos
    • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Cloud
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Events
      • Ideas
      • Knowledge Base
      • Training
      • Upcoming Patch Content
      • Videos
    • RSA® Adaptive Authentication Mobile SDK
      • RSA® Adaptive Authentication Mobile SDK
      • Advisories
      • Events
      • Ideas
      • Knowledge Base
      • Request Access
      • Training
    • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Events
      • Ideas
      • Knowledge Base
      • Training
      • Videos
    • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Events
      • Ideas
      • Knowledge Base
      • Training
      • Videos
    • RSA® Adaptive Authentication for eCommerce
      • RSA® Adaptive Authentication for eCommerce
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Ideas
      • Knowledge Base
      • Training
      • Videos
    • RSA® FraudAction Services
      • RSA® FraudAction Services
      • Advisories
      • Discussions
      • Documentation
      • Ideas
      • Videos
    • RSA® Web Threat Detection
      • RSA® Web Threat Detection
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Knowledge Base
      • Videos
    • RSA NetWitness® Platform
      • RSA NetWitness® Platform
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Integrations
      • Knowledge Base
      • Training
      • Upcoming Events
      • Videos
    • RSA NetWitness® Detect AI
      • RSA NetWitness® Detect AI
      • Documentation
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
    • RSA NetWitness® Investigator
      • RSA NetWitness® Investigator
      • Documentation
      • Download the Client
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
    • RSA NetWitness® Orchestrator
      • RSA NetWitness® Orchestrator
      • Overview
      • Documentation
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
    • RSA SecurID® Suite
      • RSA SecurID® Suite
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Knowledge Base
      • Ideas
      • Integrations
      • Training
      • Videos
    • RSA® Identity Governance & Lifecycle
      • RSA® Identity Governance & Lifecycle
      • Advisories
      • Blog
      • Community Exchange
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Knowledge Base
      • Training
      • Upcoming Events
      • Videos
    • RSA SecurID® Access
      • RSA SecurID® Access
      • Advisories
      • Blog
      • Discussions
      • Documentation
      • Downloads
      • Ideas
      • Integrations
      • Knowledge Base
      • Training
      • Upcoming Events
      • Videos
    • Other RSA® Products
      • Other RSA® Products
      • RSA® Access Manager
      • RSA® Data Loss Prevention
      • RSA® Digital Certificate Solutions
      • RSA enVision®
      • RSA® Federated Identity Manager
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
      •  
  • Resources
    • Advisories
      • Product Advisories on RSA Link
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Hosted
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Product Advisories
    • Blogs
      • Blogs on RSA Link
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Blogs on RSA Link
    • Discussion Forums
      • Discussion Forums
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Discussion Forums on RSA Link
    • Documentation
      • Product Documentation
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Mobile SDK
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Documentation on RSA Link
    • Downloads
      • Product Downloads
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Downloads on RSA Link
    • Ideas
      • Idea Exchange
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Mobile SDK
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® FraudAction Services
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Documentation on RSA Link
    • Knowledge Base
      • Knowledge Base
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication Mobile SDK
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Knowledge Base Pages on RSA Link
    • Upcoming Events on RSA Link
      • Upcoming Events
    • Videos
      • Videos on RSA Link
      • Archer®
      • RSA® Adaptive Authentication Cloud
      • RSA® Adaptive Authentication On-Premise
      • RSA® Adaptive Authentication On-Premise (Cassandra)
      • RSA® Adaptive Authentication for eCommerce
      • RSA® Identity Governance & Lifecycle
      • RSA NetWitness® Platform
      • RSA SecurID® Access
      • RSA® Web Threat Detection
      • All Videos on RSA Link
  • Support
    • RSA Link Support
      • RSA Link Support
      • News & Announcements
      • Getting Started
      • Support Forum
      • Support Knowledge Base
      • Ideas & Suggestions
    • RSA Product Support
      • RSA Product Support
      • General Security Advisories and Statements
      • Product Life Cycle
      • Support Information
      •  
      •  
      •  
      •  
      •  
  • RSA Ready
  • RSA University
    • Certification Program
      • Certification Program
    • Course Catalogs
      • Course Catalogs
      • Archer®
      • RSA NetWitness® Platform
      • RSA SecurID® Suite
    • On-Demand Subscriptions
      • On-Demand Subscriptions
      • Archer®
      • RSA NetWitness® Platform
      • RSA SecurID® Suite
    • Product Training
      • Product Training
      • Archer®
      • RSA® Fraud & Risk Intelligence Suite
      • RSA® Identity Governance & Lifecycle
      • RSA NeWitness® Platform
      • RSA SecurID® Access
    • Student Resources
      • Student Resources
      • Access On-Demand Learning
      • Access Virtual Labs
      • Contact RSA University
      • Enrollments & Transcripts
      • Frequently Asked Questions
      • Getting Started
      • Learning Modalities
      • Payments & Cancellations
      • Private Training
      • Training Center Locations
      • Training Credits
      • YouTube Channel
    • Upcoming Events
      • Upcoming Events
      • Full Calendar
      • Conferences
      • Live Classroom Training
      • Live Virtual Classroom Training
      • Webinars
Sign In Register Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
Announcements

Visit the Known Issues dashboard if you are experiencing issues on RSA Link

View Dashboard

RSA enVision® Discussions

Browse the RSA enVision discussion board to get product help and collaborate with other users of RSA enVision.
  • RSA Link
  • :
  • Products
  • :
  • Other RSA Products
  • :
  • RSA enVision
  • :
  • Discussions
  • :
  • Timestamps
  • Options
    • Subscribe to RSS Feed
    • Mark Topic as New
    • Mark Topic as Read
    • Float this Topic for Current User
    • Bookmark
    • Subscribe
    • Mute
    • Printer Friendly Page
HernanPerez
HernanPerez Beginner
Beginner
‎2008-02-20 04:37 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Timestamps

Hi.

I'm creating an UDS for an application that generates events like this:

Fri 01/18 23:55:01.519  Header: Description ...

I'm trying to get the real timestamp of each event, but having no year field is causing us problems. The Universal Device Support Guide says it's not a problem if we have no year field, as enVision will get the year when the event is actually collected, but the truth is all we can get is some date in 1970 (I guess it gives no year to our events and calculates the date from the starting point of the Unix time).

The time shown above would turn into this: 1970-01-18 23:55:01

This is the definition of our header:

<HEADER
        id1="0001"
        id2="0001"
        devts="TS(&apos;%M %D %H:%T:%S&apos;,month,day,time)"
        content="&lt;fld1&gt; &lt;month&gt;/&lt;day&gt; &lt;time&gt; &lt;messageid&gt;: &lt;!payload&gt;" />

Any help with this would be really appreciated.

Thanks

  Hernan
  • Tags:
  • Community Thread
  • Discussion
  • enVision
  • Forum Thread
  • RSA enVision
0 Likes
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
1 Reply
RobertWengewicz
RobertWengewicz Beginner
Beginner
‎2008-04-02 02:22 PM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Not sure if this was answered already or not but looks liek you are missing the %w for year. Look below for the answer.

 

Device Timestamps

Device timestamps are specified as part of a header definition, using the variablesdevts. There are two

ways to specify a timestamp format:

• Standard predefined timestamp format

• Timestamps can be defined by a user specified format string.

Standard Predefined Timestamps

There are two predefined timestamps:

• MDTS (Month, Day, TimeStamp)

• MDYTS (Month, Day, Year, TimeStamp)

Here are the standard predefined time stamp components:

Timestamp Component Definition

Mmm Abbreviation for month of the year (case-sensitive). Valid values

are:

Jan

Feb

Mar

Apr

May

Jun

Jul

Aug

Sep

Oct

Nov

Dec

Dd Day of the month. Valid values are:1through 31.

Hh Hour of the day. Valid values are: 00 through 23.Mm Minute of the hour. Valid values are:

00through59.

Ss Second of the minute. Valid values are: 00 through 59.

Yyyy Year. Valid values are: 1970 through current year.

 

 

MDTS (Month, Day, TimeStamp) Predefined Timestamp Formats

TheMDTS (dmonth, dday, dtime)format is:Mmm dd hh:mm:ss.

Here is an example of MDTS in a log (device’s timestamp is in bold font):

Aug 18 12:48:30 [120.2.40.1] OCT 31 15:59:05 1/1 149 VRRP-4: Master is 10.20.30.40, VRID:1

The header definition for this log message is:

<HEADER id1="0001" id2="0001"

devts=”MDTS(dmondth,dday,dtime)”

content="<dmonth> <dday> <dtime> <slot>/<port> <msgcount> <messageid>-<level>: <!payload>" />

The variabledevts=”MDTS(dmondth,dday,dtime)”identifies that a device timestamp exists in the header,

and the timestamp’s format is MDTS. The function’s input <args> must be defined in the header’s content

string.

 

MDYTS (Month, Day, Year TimeStamp) Predefined Timestamp Format

TheMDYTS (Month, Day Year Timestamp)format is:Mmm dd yyyy hh:mm:ss.

Here is an example of MDYTS in a log (device’s timestamp is in bold font):

Aug 10 15:45:38 [10.10.20.1]Aug 10 2004 15:44:51: %PIX-5-304001: 10.10.20.128 Accessed URL

205.188.135.105:/redirects/inclient/AIM_UAC.adp?magic=93167109&width=120&height=90

The header definition for this log message is:

HEADER id1="0003" id2="0003"

devts="MDYTS(month,day,year,time)”

content="<month> <day> <year> <time> %PIX-<level>-<messageid>: <!payload>" />

The variabledevts="MDYTS(month,day,year,time)”identifies that a device timestamp exists in the header,

and the timestamp’s format is MDYTS. The function’s input <args> must be defined in the header’s

content string.

 

 

Non-Standard TimeStamp, TS

Non standard timestamps are defined by a user-specified timestamp format string. The format string

contains format codes, which describes to UDS how to process the timestamp string.

Here are the format codes for specifying a timestamp layout.:

ASCII Date Component Formatting code Example

Full Month Name %R January, JANUARY

Abbreviated Month Name %B Jan, JAN

Numeric Month %M 01 – 12

Numeric Month Day %D 01 – 31

Hour (24 hour period) %H 00 – 23

Hour (12 hour period) %I 00 – 11

AM/PM (Needed by %I) %P AM or PM

A.M./P.M. (Needed with %I) %Q A.M. or P.M.

Minutes %T 00-59

Seconds %S 00 – 59

Year (this century) %Y 00 – 99

Year %W 0000 – 9999

Julian Day %J 001-364

%% ASCII Percent

The following log message contains a non-standard format device timestamp (timestamp is in bold font):

Aug 18 12:51:04 [110.110.7.1] id=firewall sn=004010103026

time="2002-01-01 14:24:46" fw=10.10.100.1 pri=6 c=1024 m=4 SonicWALL activated

A user specified timestamp format for this log message is:

<HEADER id1="0001" id2="0001"

devts="'TS('%W-%M-%D %H:%T:%S',yearMonthDay,time)"

content="id=<id> sn=<sn> time="<yearMonthDay> <time>" fw=<fw> pri=<pri> c=<c> m=<messageid>

<!payload>" />

The TS function’s input <args> must be defined in the header’s content string. The TS function supports up

to a maximum of 10 input <args>.

The prototype for the TS function is:TS(formatString, var1, …). The…indicates that the TS function

supports a variable number of input arguments. This allows the timestamp to be spread over an unknown

number of <args>. In the example, the timestamp is spread over 2 input <args>.

0 Likes
Share
Reply
Related Topics
Issue with Event Date Time - When there is no year part in the Event timestamp.
Is it possible to write the timestamp from a Header - to a field in a table?
Issue with Timestamp of Raw log and Alert generated
Cisco IDS XML Service - IDS Message Timestamp
Powered by Khoros
  • Products
  • Resources
  • Solutions
  • RSA University
  • Support
  • RSA Labs
  • RSA Ready
  • About RSA Link
  • Terms & Conditions
  • Privacy Statement
  • Provide Feedback
© 2020 RSA Security LLC or its affiliates.
All rights reserved.