aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-sparky-be/resources/config/elasticsearch.properties
diff options
context:
space:
mode:
authorkj <keren.joseph@amdocs.com>2018-03-19 15:07:44 +0200
committerkj <keren.joseph@amdocs.com>2018-03-27 19:48:13 +0300
commit9bf2731ab42d49b3ac89d07e0e1282f685151c57 (patch)
treed900d4ad718f0939c5f580787032df46cce5c726 /kubernetes/aai/charts/aai-sparky-be/resources/config/elasticsearch.properties
parentbd46220299a64b32296a998ca74c37a1510007d4 (diff)
Add standardized helm chart for aai
Issue-ID: OOM-734 Change-Id: I6b1a85017d79b92afcae44cf823ab000a10ce4be Signed-off-by: kj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-sparky-be/resources/config/elasticsearch.properties')
-rw-r--r--kubernetes/aai/charts/aai-sparky-be/resources/config/elasticsearch.properties72
1 files changed, 72 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-sparky-be/resources/config/elasticsearch.properties b/kubernetes/aai/charts/aai-sparky-be/resources/config/elasticsearch.properties
new file mode 100644
index 0000000000..082744b94e
--- /dev/null
+++ b/kubernetes/aai/charts/aai-sparky-be/resources/config/elasticsearch.properties
@@ -0,0 +1,72 @@
+#######################################################################################
+############################## ElasticSearch Config ###################################
+#######################################################################################
+
+############################## Networking ##############################
+#
+# The ip address/hostname and port to the desired AAI instance
+# For development it's recommended to use a local instance of ES
+#
+elasticsearch.ipAddress=aai-elasticsearch.{{.Release.Namespace}}
+elasticsearch.httpPort={{ .Values.config.elasticsearchHttpPort }}
+elasticsearch.javaApiPort=8443
+
+############################## Indexes ##############################
+#
+# Index names for various searches.
+#
+elasticsearch.indexName=entitysearchindex
+elasticsearch.topographicalIndexName=topographicalsearchindex
+elasticsearch.entityCountHistoryIndexName=entitycounthistoryindex
+elasticsearch.autosuggestIndexname=entityautosuggestindex
+
+# Default document type
+elasticsearch.type=default
+
+############################## Index Mappings and Settings ##############################
+#
+# JSON files for sparky elasticsearch indexes.
+#
+elasticsearch.mappingsFileName=/etc/es_mappings.json
+elasticsearch.settingsFileName=/etc/es_settings.json
+elasticsearch.autosuggestSettingsFileName=/etc/autoSuggestSettings.json
+elasticsearch.autosuggestMappingsFileName=/etc/autoSuggestMappings.json
+elasticsearch.dynamicMappingsFileName=/etc/dynamicMappings.json
+elasticsearch.entityCountHistoryMappingsFileName=/etc/entityCountHistoryMappings.json
+
+############################## Statistics Report Formatting ##############################
+#
+# During synchronization, a formatted statisitics log is generated.
+#
+# Response size in bytes histogram
+elasticsearch.taskProcessor.bytesHistogramLabel="[Response Size In Bytes]"
+elasticsearch.taskProcessor.bytesHistogramMaxYAxis=1000000
+elasticsearch.taskProcessor.bytesHistogramNumBins=20
+elasticsearch.taskProcessor.bytesHistogramNumDecimalPoints=2
+# "Work on Hand" statisitcs for external resource requests
+elasticsearch.taskProcessor.queueLengthHistogramLabel="[Queue Item Length]"
+elasticsearch.taskProcessor.queueLengthHistogramMaxYAxis=20000
+elasticsearch.taskProcessor.queueLengthHistogramNumBins=20
+elasticsearch.taskProcessor.queueLengthHistogramNumDecimalPoints=2
+# Time on queue (how long does a task stay on the work queue)
+elasticsearch.taskProcessor.taskAgeHistogramLabel="[Task Age In Ms]"
+elasticsearch.taskProcessor.taskAgeHistogramMaxYAxis=600000
+elasticsearch.taskProcessor.taskAgeHistogramNumBins=20
+elasticsearch.taskProcessor.taskAgeHistogramNumDecimalPoints=2
+# Per transaction response time for external resource requests
+elasticsearch.taskProcessor.responseTimeHistogramLabel="[Response Time In Ms]"
+elasticsearch.taskProcessor.responseTimeHistogramMaxYAxis=1000
+elasticsearch.taskProcessor.responseTimeHistogramNumBins=20
+elasticsearch.taskProcessor.responseTimeHistogramNumDecimalPoints=2
+# Transaction throughput velocity
+elasticsearch.taskProcessor.tpsHistogramLabel="[Transactions Per Second]"
+elasticsearch.taskProcessor.tpsHistogramMaxYAxis=100
+elasticsearch.taskProcessor.tpsHistogramNumBins=20
+elasticsearch.taskProcessor.tpsHistogramNumDecimalPoints=2
+
+############################## Deprecated, to be removed or updated ##############################
+elasticsearch.taskProcessor.maxConcurrentWorkers=5
+elasticsearch.taskProcessor.transactionRateControllerEnabled=false
+elasticsearch.taskProcessor.numSamplesPerThreadForRunningAverage=100
+elasticsearch.taskProcessor.targetTPS=100
+elasticsearch.clusterName=ES_AAI_LOCALHOST