You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -331,6 +331,16 @@ Following is the supported API format for writing to standard output:
331
331
stdout:
332
332
format: the format of each line: printf (default - writes using golang's default map printing), fields (writes one key and value field per line) or json
333
333
</pre>
334
+
## Write IPFIX
335
+
Following is the supported API format for writing to an IPFIX collector:
336
+
337
+
<pre>
338
+
ipfix:
339
+
targetHost: IPFIX Collector host target IP
340
+
targetPort: IPFIX Collector host target port
341
+
transport: Transport protocol (tcp/udp) to be used for the IPFIX connection
342
+
enterpriseId: Enterprise ID for exporting transformations
343
+
</pre>
334
344
## Aggregate metrics API
335
345
Following is the supported API format for specifying metrics aggregations:
Copy file name to clipboardExpand all lines: pkg/api/api.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ type API struct {
62
62
TransformNetworkTransformNetwork`yaml:"network" doc:"## Transform Network API\nFollowing is the supported API format for network transformations:\n"`
63
63
WriteLokiWriteLoki`yaml:"loki" doc:"## Write Loki API\nFollowing is the supported API format for writing to loki:\n"`
64
64
WriteStdoutWriteStdout`yaml:"stdout" doc:"## Write Standard Output\nFollowing is the supported API format for writing to standard output:\n"`
65
+
WriteIPFIXWriteIpfix`yaml:"ipfix" doc:"## Write IPFIX\nFollowing is the supported API format for writing to an IPFIX collector:\n"`
65
66
ExtractAggregateAggregates`yaml:"aggregates" doc:"## Aggregate metrics API\nFollowing is the supported API format for specifying metrics aggregations:\n"`
66
67
ConnectionTrackingConnTrack`yaml:"conntrack" doc:"## Connection tracking API\nFollowing is the supported API format for specifying connection tracking:\n"`
67
68
ExtractTimebasedExtractTimebased`yaml:"timebased" doc:"## Time-based Filters API\nFollowing is the supported API format for specifying metrics time-based filters:\n"`
0 commit comments