You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what am I doing wrong but I don't see the index in my Elasticsearch instance. The console and file appenders work fine. I don't see errors related to the ElasticsearchAppender.
green open .geoip_databases y1revQR7SyWHJIxnAq0z7w 1 0 42 0 40.3mb 40.3mb
green open .kibana_7.16.3_001 zjnnLKjXT362iQdFnXPsHQ 1 0 279 27 2.4mb 2.4mb
green open .apm-custom-link t8-PvRWaTpSd1n2xuT8tYA 1 0 0 0 226b 226b
green open .apm-agent-configuration hx8SsYzkTDqkEPpA7aZcvg 1 0 0 0 226b 226b
green open .kibana_task_manager_7.16.3_001 H-Kjao4hRLW45PmEMTvnGw 1 0 17 5352 1mb 1mb
green open .tasks Xp2ezFegRo-jzjK4UfUTpQ 1 0 6 0 28.9kb 28.9kb
The text was updated successfully, but these errors were encountered:
That means your logs are not properly getting to, or being captured by, the elastic instance. Try setting errorsToStderr to true, which should report some errors the appender can see to the console, and separately logsToStderr to true can show you the json getting sent to elastic.
At first glance your config looks ok, though we send a header of Content-Type application/json, and you may need to include the authentication tag, depending on your elastic setup.
I'm not sure what am I doing wrong but I don't see the index in my Elasticsearch instance. The console and file appenders work fine. I don't see errors related to the ElasticsearchAppender.
logback.xml
curl localhost:9200/_cat/indices
The text was updated successfully, but these errors were encountered: