Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To use the Hubspot To use the Elasticsearch connector, add the <hubspot<elasticsearch.init> element in your configuration before carrying out any other Hubspot Elasticsearch operations. 

The Hubspot API allows for two means of authentication, OAuth and API Keys. For more information, see http://developers.hubspot.com/docs/methods/auth/oauth-overviewFor more information on how to setup an Elasticsearch instance, see https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html.

Code Block
languagexml
titleinit
<hubspot.init>
	<apiKey>{$ctx:apiKey}</apiKey>
	<apiUrl>{$ctx:apiUrl}</apiUrl>
</hubspot<elasticsearch.init>
    <apiUrl>{$ctx:apiUrl}</apiUrl>
	<pretty>{$ctx:pretty}</pretty>
	<format>{$ctx:format}</format>
	<human>{$ctx:human}</human>
	<filterPath>{$ctx:filterPath}</filterPath>
	<flatSettings>{$ctx:flatSettings}</flatSettings>
	<callback>{$ctx:callback}</callback>
	<case>{$ctx:case}</case>
</elasticsearch.init>
Properties
  • apiKeyapiUrl The API key of the Hubspot account.apiUrl: The API URL of Hubspotbase end point URL of Elasticsearch API.
  • pretty:  The boolean flag to indicate whether the JSON response is to be returned as pretty formatted.
  • format:  Indicates whether the results to be returned in more readable YAML format.
  • human:  The boolean flag to indicate whether the response is to be returned in human readable format.
  • filterPath:  The comma separated list of filters expressed with the dot notation.
  • flatSettings:  The boolean flag to indicate whether the response is to be returned in the flat format.
  • callback:  The boolean flag to indicate whether the response is to be returned as JSONP result.
  • case:  When set to camelCase, all field names in the result will be returned in camel casing, otherwise, underscore casing will be used.

Now that you have connected to HubspotElasticsearch, use the information in the following topics to perform various operations with the connector. 

...