Skip to content

dtuck9/found-shield-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elastic Cloud X-Pack Transport Example

Note: The Elasticsearch transport client is officially deprecated in 7.0.0 and we highly recommend for users to move to the high level Java REST client.

Elasticsearch version Branch
6.x master
5.x 5.x
2.x 2.x
1.x 1.x

Running

To run the example use mvn exec:java:

$ mvn compile exec:java -Dhost=YOUR_CLUSTER_ID.REGION.aws.found.io -Dxpack.security.user='username:password'

Replace YOUR_CLUSTER_ID with your cluster id and REGION with the region the cluster is started in.

IPv4 / IPv6

By default, if IPv4 and IPv6 are both enabled then it is undetermined which will be used. The system properties -Dip4=true|false and -Dip6=true|false can be used to turn them on/off explicitly. If they are enabled then the network/host should support routing to the Cloud endpoint, e.g. this is not the case within Docker containers by default).

About

Elastic Cloud Shield Transport Example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 100.0%