return IndexScanner.getIndexNameByBucketPath(bucketDir, splunkService);
}
public static Service getSplunkService() {
RegistersMBeans.create().registerMBean(JMXSplunkMBean.OBJECT_NAME,
new JMXSplunk());
return SplunkIndexedLayerFactory.getLoggedInSplunkService();
}