Search Results for

    Show / Hide Table of Contents

    Interface IGeoIpProcessor

    The GeoIP processor adds information about the geographical location of IP addresses, based on data from the Maxmind databases. This processor adds this information by default under the geoip field. The geoip processor can resolve both IPv4 and IPv6 addresses.

    Inherited Members
    IProcessor.Name
    IProcessor.Description
    IProcessor.OnFailure
    IProcessor.If
    IProcessor.Tag
    IProcessor.IgnoreFailure
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IGeoIpProcessor : IProcessor
    Remarks

    Requires the Ingest Geoip Processor Plugin to be installed on the cluster.

    Properties

    | Edit this page View Source

    DatabaseFile

    Declaration
    [DataMember(Name = "database_file")]
    string DatabaseFile { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Field

    Declaration
    [DataMember(Name = "field")]
    Field Field { get; set; }
    Property Value
    Type Description
    Field
    | Edit this page View Source

    FirstOnly

    If true, only first found geoip data will be returned, even if field contains array. Defaults to true

    Declaration
    [DataMember(Name = "first_only")]
    bool? FirstOnly { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    IgnoreMissing

    If true and field does not exist, the processor quietly exits without modifying the document

    Declaration
    [DataMember(Name = "ignore_missing")]
    bool? IgnoreMissing { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Properties

    Declaration
    [DataMember(Name = "properties")]
    IEnumerable<string> Properties { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    | Edit this page View Source

    TargetField

    Declaration
    [DataMember(Name = "target_field")]
    Field TargetField { get; set; }
    Property Value
    Type Description
    Field

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • DatabaseFile
      • Field
      • FirstOnly
      • IgnoreMissing
      • Properties
      • TargetField
    • Extension Methods
    Back to top Generated by DocFX