i'm using Splunk java sdk to get search result. i want to setup timestamp for my search.
Args oneshotSearchArgs = new Args();
oneshotSearchArgs.put("earliest_time", "2019-02-19T12:00:00.000-07:00");
oneshotSearchArgs.put("latest_time", "2019-02-20T12:00:00.000-07:00");
String oneshotSearchQuery ="search index=app | head 2";
Instead giving date manually, i want to give
earliest_time --> 2 days
latest_time --> now
How can i do it?
... View more
we need to expose splunk dashboard as an API, so that an external TIBCO middleware system can consume it.
we really appreciate, if we could get working example?
... View more