Skip to content

Route not found #1997

Description

@YANGJINJUE

Describe the bug
curl -X POST http://127.0.0.1:7280/api/v1/hdfs-logs/ingest -H 'context-length:295' -d '{"body":"Deleted BP-108841162-10.10.34.11-1440074360971 blk_1074166613_425789 file /opt/hdfs/data/current/BP-108841162-10.10.34.11-1440074360971/current/finalized/subdir6/subdir123/blk_1074166613","resource":{"service":"datanode/28"},"severity_text":"INFO","tenant_id":20,"timestamp":1475215749}'

execute the ingest will return :
{
"error": "Route not found"
}

Expected behavior
A clear and concise description of what you expected to happen.

Configuration:
Please provide:

1.version: Quickwit 0.3.1 (x86_64-apple-darwin 69eb7db 2022-06-22)
2. config: #

Index config file for hdfs-logs dataset.

version: 0

index_id: hdfs-logs

doc_mapping:
field_mappings:
- name: timestamp
type: i64
fast: true
- name: tenant_id
type: u64
- name: severity_text
type: text
tokenizer: raw
- name: body
type: text
tokenizer: default
record: position
- name: resource
type: object
field_mappings:
- name: service
type: text
tokenizer: raw
tag_fields: [tenant_id]

indexing_settings:
timestamp_field: timestamp

search_settings:
default_search_fields: [severity_text, body]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions