forked from OpenNMS/opennms
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
externalize cfg through a properties file
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...base-assembly/src/main/filtered/etc/org.opennms.features.elasticsearch.eventforwarder.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# See: www.opennms.org/wiki/Dev-Jam_2015/elasticsearch | ||
# | ||
# for instructions on how to use this feature | ||
# | ||
|
||
# name of the ES cluster | ||
elasticsearchCluster=opennms | ||
# ip to connect to | ||
elasticsearchIp=localhost | ||
# also log event description (impacts index size and might not contain useful information) | ||
logEventDescription=false | ||
# 0=unlimited | ||
cache_max_ttl=0 | ||
# 0=unlimited | ||
cache_max_size=10000 |