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!

Introducing the Splunk Community Dashboard Challenge!

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

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...