Class ElasticProperties


@ConfigurationProperties("management.elastic.metrics.export") public class ElasticProperties extends StepRegistryProperties
@ConfigurationProperties for configuring Elastic metrics export.
Since:
4.0.0
  • Constructor Details

    • ElasticProperties

      public ElasticProperties()
  • Method Details

    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
    • getIndex

      public String getIndex()
    • setIndex

      public void setIndex(String index)
    • getIndexDateFormat

      public String getIndexDateFormat()
    • setIndexDateFormat

      public void setIndexDateFormat(String indexDateFormat)
    • getIndexDateSeparator

      public String getIndexDateSeparator()
    • setIndexDateSeparator

      public void setIndexDateSeparator(String indexDateSeparator)
    • getTimestampFieldName

      public String getTimestampFieldName()
    • setTimestampFieldName

      public void setTimestampFieldName(String timestampFieldName)
    • isAutoCreateIndex

      public boolean isAutoCreateIndex()
    • setAutoCreateIndex

      public void setAutoCreateIndex(boolean autoCreateIndex)
    • getUserName

      public @Nullable String getUserName()
    • setUserName

      public void setUserName(@Nullable String userName)
    • getPassword

      public @Nullable String getPassword()
    • setPassword

      public void setPassword(@Nullable String password)
    • getPipeline

      public @Nullable String getPipeline()
    • setPipeline

      public void setPipeline(@Nullable String pipeline)
    • getApiKeyCredentials

      public @Nullable String getApiKeyCredentials()
    • setApiKeyCredentials

      public void setApiKeyCredentials(@Nullable String apiKeyCredentials)
    • isEnableSource

      public boolean isEnableSource()
    • setEnableSource

      public void setEnableSource(boolean enableSource)