Skip to content

Does it work with Kibana ? #151

Open

Description

@saurabhPV

I see this doesn't sit on top of the es unlike xpack or opendistro so I can not use

elasticsearch.username: and elasticsearch.password:

as mentioned in kibana docs
I tried to use basic auth by passing username and passwork in the url like http://foo:bar@arc:8000 but that didn't work.

Please let me know if it's possible to run it with Kibana ?

Activity

  1. siddharthlatest commented on Oct 7, 2020

    @siddharthlatest
    Member

    @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.

  2. saurabhPV commented on Oct 7, 2020

    @saurabhPV
    Author

    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.

  3. saurabhPV commented on Oct 7, 2020

    @saurabhPV
    Author

    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?

  4. saurabhPV commented on Dec 2, 2020

    @saurabhPV
    Author

    @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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions