Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Using elasticsplunk with elasticsearch using readonlyREST #11

Open
1vish99 opened this issue Feb 7, 2018 · 5 comments
Open

Using elasticsplunk with elasticsearch using readonlyREST #11

1vish99 opened this issue Feb 7, 2018 · 5 comments

Comments

@1vish99
Copy link

1vish99 commented Feb 7, 2018

Hi,

Is there a way to add ldap connection details so it can be used with elasticsearch cluster which is secured with readonlyREST

@brunotm
Copy link
Owner

brunotm commented Feb 7, 2018 via email

@1vish99
Copy link
Author

1vish99 commented Feb 8, 2018

credentials are passed through kibana which in turn connects to elasticsearch client.
how ever i am not getting any error when i use command in below format.
| ess eaddr="http://username:password@hostname:port" index="" query=""

i was thinking if its possible to get the username and password with which the user logged in to the splunk and insert them in the esaddr.

@brunotm
Copy link
Owner

brunotm commented Feb 9, 2018 via email

@brunotm
Copy link
Owner

brunotm commented May 3, 2018

Hi @1tarak,

i didn't had the time to investigate this further, you managed to get this working?

Thanks

@nanjum88
Copy link

nanjum88 commented Aug 2, 2019

hi @brunotm @1vish99

I am trying to get the basic cluster health status using the app

Curl works -

curl -u usernam:password -XGET "https://elasticsearchdev.domain.com:443/_cluster/health"?pretty

{
"cluster_name" : "newdev",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 2,
"number_of_data_nodes" : 2,
"active_primary_shards" : 1608,
"active_shards" : 3216,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 10.0
}

How do I make this work using the app ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants