Giter VIP home page Giter VIP logo

Comments (4)

siddharthlatest avatar siddharthlatest commented on June 2, 2024

@saurabhPV If I understand correctly, the flow you're trying to use is:

[ Kibana ] --> [ Arc acts as a reverse proxy ] --> [ Elasticsearch ]

When you're setting elasticsearch.username and elasticsearch.password, are you also setting elasticsearch.hosts? The latter should point to the Arc host, it defaults to Elaticsearch host.

from reactivesearch-api.

saurabhPV avatar saurabhPV commented on June 2, 2024

Thanks a lot @siddharthlatest for the quick response !
Like you said

[ Kibana ] --> [ Arc acts as a reverse proxy ] --> [ Elasticsearch ]

this is exactly I am trying to achieve. It would be really helpful to know if it is possible and what configuration do I need to do.

Yes I am using http://arc:8000 (- I am using docker and I am sure it resolves to correct service I have tried it from kibana container) as host url.

from reactivesearch-api.

saurabhPV avatar saurabhPV commented on June 2, 2024

I have one more question regarding config do I need to do anything to configure logging ?

I queried es using
curl -XGET "http://foo:bar@localhost:8000/_search" -H 'Content-Type: application/json' -d'{ "query": { "match_all": {} }}'

and then I tried to view what type of log it generates using

curl --location --request GET 'http://foo:bar@localhost:8000/_logs/search'

In the response {"logs":[],"took":2,"total":0} I don't see any log.

In the example response on the api doc https://arc-api.appbase.io/#06f127ed-fd05-4832-a67f-6285a8bd5319 I don't see any user info is there a way to enable it ?

Logs are triggered for failed auth too?

from reactivesearch-api.

saurabhPV avatar saurabhPV commented on June 2, 2024

@siddharthlatest I found out arc uses Fluentbit (from this repo.) to ship log to elasticsearch. Could you please help me to configure it to use in this repo (I am facing issue in that approach as well)

from reactivesearch-api.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.