Skip to content

Push network flow data

POST
/k8s/agents/{clusterId}/network-flows
curl --request POST \
--url https://shoehorn.example.com/api/v1/k8s/agents/example/network-flows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "flows": [ { "source": "example", "destination": "example", "port": 1, "protocol": "example", "bytes_sent": 1 } ] }'
clusterId
required
string
Media type application/json
object
flows
Array<object>
object
source
string
destination
string
port
integer
protocol
string
bytes_sent
integer
Example generated
{
"flows": [
{
"source": "example",
"destination": "example",
"port": 1,
"protocol": "example",
"bytes_sent": 1
}
]
}

Network flows received