opensearch environment variables #2195
Replies: 5 comments 6 replies
|
I'm converting this to discussion. |
|
Hi, usually I pass the credentials as a command line parameter like this -Xelastic="indexName:nameoftheindex;user:username;password:password". |
|
Hey there! I am wondering which versions of ElasticSearch are supported? I am trying to push from IPED 4.1.2 to ElasticSearch 8.17.3 and I get some sort of an unknown setting error. Suppressed: org.opensearch.client.ResponseException: method [PUT], host [https://localhost:9200], URI [/ipedtest?master_timeout=30s&timeout=30s], status line [HTTP/1.1 400 Bad Request] Or is there a plugin that I should install for the ElasticSearch? |
|
Hi @lfcnassif Thank you! It works with OpenSearch 2.12.0! |
Uh oh!
There was an error while loading. Please reload this page.
I saw inhere: #1671
that there is support in the environment variables for opensearch user/password combination.
But it's for me unclear what I should use as name.
This topic #2161 speaks about minio, which should be the same way of working:
You need to specify credentials using this syntax as env var:
_set MinioCredentials=accesskey:xxxxxx;secretkey:yyyyyyyyyy
Or as a java sys prop:
iped.exe -DMinioCredentials=accesskey:xxxxxx;secretkey:yyyyyyyyyy -d input -o output
Or as an IPED extra property:
iped.exe -XMinioCredentials=accesskey:xxxxxx;secretkey:yyyyyyyyyy -d input -o output_
But what's the exact way of doing it for opensearch/elasticsearch? Might be better off adding it to either the conf file or the documentation somewhere.
Thanks in advance for any info you can provide
All reactions