Github user merrimanr commented on a diff in the pull request:
https://github.com/apache/metron/pull/1055#discussion_r194118177
--- Diff:
metron-platform/metron-elasticsearch/src/main/java/org/apache/metron/elasticsearch/dao/ElasticsearchMetaAlertDao.java
---
@@ -720,4 +719,12 @@ public int getPageSize() {
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
+
+ private String getField(String globalConfigKey, String defaultField) {
--- End diff --
The latest commit extracts this to ConfigurationsUtils class in
metron-common. This class is already really big so I was hesitant to add it
there but I'm not sure where else it belongs.
---