Class EventsIndexMapping

java.lang.Object
org.graylog2.indexer.EventsIndexMapping
All Implemented Interfaces:
IndexMappingTemplate
Direct Known Subclasses:
EventsIndexMapping7

public abstract class EventsIndexMapping extends Object implements IndexMappingTemplate
  • Constructor Details

    • EventsIndexMapping

      public EventsIndexMapping()
  • Method Details

    • toTemplate

      public Map<String,Object> toTemplate(IndexSetConfig indexSetConfig, String indexPattern, int order)
      Description copied from interface: IndexMappingTemplate
      Returns the index template as a map.
      Specified by:
      toTemplate in interface IndexMappingTemplate
      Parameters:
      indexSetConfig - the index set configuration
      indexPattern - the index pattern the returned template should be applied to
      order - the order value of the index template
      Returns:
      the index template
    • buildMappings

      protected com.google.common.collect.ImmutableMap<String,Object> buildMappings()
    • fieldProperties

      protected com.google.common.collect.ImmutableMap<String,Object> fieldProperties()
    • map

      protected com.google.common.collect.ImmutableMap.Builder<String,Object> map()
    • list

      protected com.google.common.collect.ImmutableList.Builder<Object> list()
    • dateFormat

      protected String dateFormat()