Open Closed

Abp suite 7.1.1 Microservice template, WriteTo.Elasticsearch is not working #4851


User avatar
0
zyknow created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v7.1.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

i follow the docs setup by setup,to run the microservice template, i config elasticsearch and kibana, when i execute .\run-tye.ps1, the project is running,and is work,but logs can't write to elasticsearch

i update Serilog.Sinks.ElasticSearch nuget,and edit AutoRegisterTemplateVersion to ESv8, but still is not working

i can't find any index from elasticsearch by https://localhost:9200/_cat/indices

but when i create new asp.net core project,i use WriteTo.Elasticsearch, i can find index from https://localhost:9200/_cat/indices,the way can working

so,i miss something or it's bug?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    You can try to disable elastic security:

    - xpack.security.enabled=false:

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.