Reputation: 1212
If I am trying to perform a simple query search just like I would in the CLI of kibana, would I need to use a HttpResponseMessage = client.GetAsJsonAsync()
instead of a .PostAsJsonAsync()
when using HttpClient()?
GET customer-simulation-es-app-logs-*/_search
{
"query": {
"match": {
"level" : "information"
}
}
}
Upvotes: 0
Views: 197
Reputation: 185
as i know, nothing should be joined with the query attribut, I guess the size field is making an exception somewhere. I advice you to remove it and retest and try using the size into the query directly
Upvotes: 1