Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Commit 0147e50

Browse files
committed
Upgrade Elasticsearch using rest api
1 parent d1106a5 commit 0147e50

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ log4j.appender.elastic=com.letfy.log4j.appenders.ElasticSearchClientAppender
3737
# ElasticSearch log4j appender for application
3838
log4j.appender.elastic=com.letfy.log4j.appenders.ElasticSearchClientAppender
3939
log4j.appender.elastic.elasticHost=http://localhost:9200
40-
log4j.appender.elastic.ip=127.0.0.1
41-
log4j.appender.elastic.applicationId=application
42-
log4j.appender.elastic.clusterName=elasticsearch
40+
log4j.appender.elastic.hostName=my_laptop
41+
log4j.appender.elastic.applicationName=demo
4342
log4j.appender.elastic.elasticIndex=logging-index
4443
log4j.appender.elastic.elasticType=logging
4544
</code></pre>

0 commit comments

Comments
 (0)