Skip to content

IP address fields missing from fieldTypeMap #181

@xrl

Description

@xrl

Problem

Quickwit's _field_caps endpoint reports IP address fields as type ip (see field_capability.rs FieldCapabilityEntryType::Ip), but the plugin's fieldTypeMap in src/utils/index.ts does not include an ip entry. This means:

  1. IP fields get type: undefined when mapped through fieldTypeMap
  2. They are excluded from type-filtered field pickers
  3. They may not appear in autocomplete suggestions

Scope

Not present in the OTEL log index currently, but quickwit supports IpAddr fields and the _field_caps mapping exists. Any index using IP fields would be affected.

Fix

Add ip to fieldTypeMap:

export const fieldTypeMap: Record<string, string> = {
  // ... existing entries ...
  ip: 'ip',
};

May also need filter/query handling for IP-specific syntax (CIDR ranges, etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions