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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...