Navigating the Elasticsearch Plug-in head Database

Confidence Level Moderate  This article includes input from several JPLers. Multiple subject matter experts can indicate that a page is more frequently reviewed and updated.

Confidence Level Moderate  This article includes input from several JPLers. Multiple subject matter experts can indicate that a page is more frequently reviewed and updated.

 

In HySDS, the Elasticsearch (ES) database can be accessed via the “es:head” link (See #1 in image) in the top navigation bar inside the Resource Manager (Figaro). Each adaptation of HySDS has a unique ES database associated with it and can alternatively be accessed with a unique URL.

There are two categories of ES: 1.) Mozart which includes PGE jobs, and 2.) GRQ which includes the dataset indices.

 

The ARIA adaptation’s ES database link is: https://c-datasets.aria.hysds.io/es/_plugin/head/

The ES head of other HySDS adaptations can be accessed via: https://{host}/es/_plugin/head

{host} is commonly defined with IP address or host name (ie example.com)

Once you’ve navigated to the ES database, the landing page should look like this:

Figure 1: (#2) Listing of indicies; (#3) Database names in index; (#4) Query ES via “Any Request” tab

In ES each index is associated with a unique dataset; displayed here in a horizontal row along the top of the ES dashboard (#2). The alias name of each index is listed in bold (#3). Alternatively, a complete list of the indices can be found under the tab labeled “Indices” in the upper left corner.

To search ES with a JSON query, click on the “Any Request” tab (#4).

 

In the Any Request tab, the ES database can be searched using a variety of methods:

  • Appending the index alias name to the URL (#5), and clicking “Request” (#6) will display a list of results in JSON format in a column (#7).

 

  • Creating a JSON query using the faceting features inside Tosca. Users should first select the desired facets. In the following example time range is used by clicking the “range” button (#8) in the “start date” in the left-hand menu column.

 

  • Next, once the slider is adjusted (#9) to the desired time range, click on “Trigger Rules” (#10):

 

  • Select and copy the entire JSON string inside the “Condition” window (#11):

 

  • Return to ES, and under the Any Request tab, delete any search conditions in the search box so that it matches the format shown (replacing the text between the hashtags with the copied JSON string).

 

 

 


Related Articles:

Have Questions? Ask a HySDS Developer:

Anyone can join our public Slack channel to learn more about HySDS. JPL employees can join #HySDS-Community

JPLers can also ask HySDS questions at Stack Overflow Enterprise

Search HySDS Wiki

Page Information:

Was this page useful?

Yes No

Contribution History:

Subject Matter Expert:

@Lela Rodriguez

@Marjorie Lucas

@Lan Dang

@Hook Hua

Find an Error?

Is this document outdated or inaccurate? Please contact the assigned Page Maintainer:

@Marjorie Lucas

 

Note: JPL employees can also get answers to HySDS questions at Stack Overflow Enterprise: