@elastic/search-security-events
Search security events with full-text query
RUN SKILL search_security_events()With parameters:
RUN SKILL search_security_events WITH query = 'value'| Name | Type | Default | Description |
|---|---|---|---|
| query | STRING | — | Search query |
-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
-H "Content-Type: application/json" \
-d '{"query": "RUN SKILL search_security_events()"}'
-- Response
{
"result": [...],
"_meta": {
"execution_id": "abc123",
"duration_ms": 45
}
}