Detailed Description
Provides an example of processing a YAML file containing evidence for IP Intelligence.
There are 20,000 examples in the supplied file of evidence representing IP addresses. For example:
server.client-ip: '96.235.219.216'
We create a IP Intelligence pipeline to read the data and find out about the associated IP addresses, we write this data to a YAML formatted output stream.
As well as explaining the basic operation of offline processing using the defaults, for advanced operation this example can be used to experiment with tuning IP Intelligence for performance using Performance Profile settings.
Static Public Member Functions | |
| static void | main (String[] args) throws Exception |
| static void | run (String dataFile, InputStream is, OutputStream os) throws Exception |
| Process a YAML representation of evidence - and create a YAML output containing the processed evidence. | |
Static Public Attributes | |
| static final String | HEADER_EVIDENCE_YML |
Member Function Documentation
◆ run()
|
static |
Process a YAML representation of evidence - and create a YAML output containing the processed evidence.
- Parameters
-
dataFile the 51Degrees on premise data file containing information about IP addresses is an InputStream containing YAML documents - one per IP address os an OutputStream for the processed data
- Examples
- console/OfflineProcessing.java.
Member Data Documentation
◆ HEADER_EVIDENCE_YML
|
static |
Initial value:
=
dataDir + "/evidence.yml"
