Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

METRON-1652 Document X-Pack Common Problem #1092

Closed
wants to merge 3 commits into from

Conversation

nickwallen
Copy link
Contributor

@nickwallen nickwallen commented Jul 3, 2018

  1. Added numbering to the X-Pack instructions to make them read easier. This is contained in the first commit.

  2. Added a "Common Problems" section and description of a problem that users might run into. This is contained in the second commit.

Pull Request Checklist

  • Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
  • Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
  • Has your PR been rebased against the latest commit within the target branch (typically master)?
  • Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
    cd site-book
    mvn site
    

@cestella
Copy link
Member

cestella commented Jul 3, 2018

I like this a lot. @mmiklavc anything missing here that we've seen in the wild?

@mmiklavc
Copy link
Contributor

mmiklavc commented Jul 3, 2018

There's also a generic ES message that you'll see when the client can't connect to the ES hosts, e.g.

"None of the configured nodes are available: [{#transport#-1}{MUuqzLIvSqSvt_TH6heDoQ}{some.host.namel}{123.44.55.678:9300}]"

This can come from any and all of the following:

  1. ES not configured with X-Pack
  2. Client not configured with X-Pack
  3. Wrong host/ip for connecting to ES master
  4. Permissions issue with cert, username, password for X-Pack
  5. Wrong TransportClient being used with X-Pack (i.e. if you did NOT correctly specify org.elasticsearch.xpack.client.PreBuiltXPackTransportClient)
  6. ES client is intimidated by ElasticsearchUtils.

There are others as well that I would need to spend a bit of time hunting down and consolidating. They're things that are probably more obvious, however. E.g. unable to read a cert.

@nickwallen
Copy link
Contributor Author

Ok, maybe we can hit any other common problems with a subsequent PR. No need to delay this one getting in.

@cestella
Copy link
Member

cestella commented Jul 5, 2018

+1 by inspection

@mmiklavc
Copy link
Contributor

mmiklavc commented Jul 5, 2018

Sounds good @nickwallen, +1 by inspection.

@nickwallen
Copy link
Contributor Author

@mmiklavc I'd be happy to write-up your feedback as another PR. Its definitely really good info (especially (6) ES client is intimidated by ElasticsearchUtils :) ), but I don't want to steal your thunder. If you don't have time to get to it, just let me know and I'll write it up in a separate PR.

@asfgit asfgit closed this in 4eb9a8e Jul 5, 2018
@nickwallen nickwallen deleted the METRON-1652 branch September 17, 2018 19:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants