Alerting

Evaluate date to set up an alert action?

jayeshrajvir
Explorer

Indicates which Business Day the transaction is considered to belong to. Weekends and public holidays are often rolled forward to the next working day but it can vary according to the institution.  This is stored in the java internal time format. 

Example value is 1585180800000 which represents the date 26/03/2020.

This is the simple java function. Splunk solution to covert Long Date to (YYYY)MMDD value

long julianDateTime = 1585180800000l;

DateFormat fmt1 = new SimpleDateFormat("yyyy-MM-dd");

String dateTime = fmt1.format(new Date(julianDateTime));
System.out.println(dateTime);

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

What is the question?

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...