The page that you are currently viewing is for an old version of Stroom (7.1). The documentation for the latest version of Stroom (7.6) can be found using the version drop-down at the top of the screen or by clicking here.
Header Arguments
The following data must be passed in as HTTP header arguments when sending files to Stroom via HTTP POST. These arguments are case insensitive.
-
System
- The name by which the system is known within the organisation, e.g.PAYROLL_SYSTEM
. This could be the name of a project/service or capability. -
Environment
- A means to identify the deployed instance of a system. This may indicate the deployment status, e.g. DEV, REF, LIVE, OPS, etc., and/or the location where the instance is deployed. An environment may be a combination of these attributes separated with an underscore. -
Feed
- The name of the feed this data relates to. This is mandatory and must match a feed defined within Stroom in order for Stroom to accept the data and know what to do with it. -
Compression
- This token is optionally used when the POST payload is compressed with either gzip of zip compression. Value ofZIP
andGZIP
are valid. Note: TheCompression
token MUST not be used in conjunction with the standard HTTP header tokenContent-Encoding
otherwise stroom will be unable to un-compress the data. Use eitherCompression:GZIP
orContent-Encoding:gzip
, not both. UsingCompression
is preferred. -
EffectiveTime
- This is only applicable to reference data. It is used to indicate the point in time that the reference data is applicable to, i.e. all event data that uses the reference data that is created after the effective time will use the reference data until a new reference data item arrives with a later effective time. Note: This argument must be in ISO 8601 date time format, i.e:yyyy-MM-ddTHH:mm:ss.sssZ
. -
Authorization
- This is only applicable when Stroom/Stroom-Proxy are configured for token based authentication.
Example header arguments for a feed called MY_SYSTEM-EVENTS from system MY_SYSTEM and environment OPS
System:MY_SYSTEM
Environment:OPS
Feed:MY_SYSTEM-EVENTS
The post payload must contain the events file. If the compression format is ZIP the payload must contain ZIP entries with the events files and optional context files ending in .ctx. Further details of supported payload formats can be found here.