Skip to content

API Reference

POST /v1/puncher/{operator}

Execute a punchlet which using the given operator

Request

Path variable

Field Description
operator Operator to use ("grok", "dissect" or "punchlet")

Form

Field Description
input File containing log samples
pattern File contaning the pattern

Response

Status

Status Code Reason
200 successful operation
500 Invalid input or pattern

Example request

1
2
3
curl --location --request POST 'http://localhost:4242/v1/puncher/dissect' \
--form 'input=@/my_dissect_folder/input' \
--form 'pattern=@/my_dissect_folder/pattern'