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
@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.
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 ?
@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)
Activity
siddharthlatest commentedon Oct 7, 2020
@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.
saurabhPV commentedon Oct 7, 2020
Thanks a lot @siddharthlatest for the quick response !
Like you said
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.saurabhPV commentedon Oct 7, 2020
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-6285a8bd5319I don't see any user info is there a way to enable it ?Logs are triggered for failed auth too?
saurabhPV commentedon Dec 2, 2020
@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)