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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...