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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...