PortX Data Forwarder

In some cases its required to forward data from one PortX instance to another.
For example in cases where there are remote network segments, demilitarized zone (DMZ), remote geographical location, connectivity between on-premise data to cloud data and more.

In such cases, an efficient option is to deploy PortX and configure it send data in real time to another PortX/XpoLog instance over HTTPS.

 

Follow the instructions below for a complete configuration of the flow.

Definitions:

 

PortX Receiver

  • Create an HTTP Listener that is configured to receive data under a specific folder in Folders and Logs.

  • Copy the Listener’s URL including the token and keep it for reference (LISTENER-ENDPOINT)

  • Copy the listener’s ID from the file …/EXTERNAL_CONF/conf/accounts/listenersAccounts.xml

  • Save the attached file into …/EXTERNAL_CONF/conf/listeners/handlers/user/ ()

    • Edit the file and replace the tag 'SET_ID_HERE' with the ID of the listener copied above (line 3).

    • Save

 

PortX Forwarder

  • Define a new Data Forwarder:

    • Define Sources - use '*' (to forward all data)

    • Scheduler - select Send data on arrival

    • Data Flows - add a flow that send raw data with the following options checked: ADD SOURCE HOST NAME, ADD SOURCE LOG PATH, ADD SOURCE LOG NAME

      • Alternatively you can simple select under flows ‘Manual’ mode and paste this configuration:
        [{"name":"sourceId","ids":["allData"],"type":"filter"},{"includeHost":true,"name":"rawData","includeLogPath":true,"type":"transform","includeLog":true}]

    • Output Targets - add a HTTP forwarder target

      • Add HTTP account

      • Set URL to be the full endpoint copied from the receiver (LISTENER-ENDPOINT)

      • Use method POST

      • Set to use flow1

      • Save

  • Save the forwarder.

 

 

Any log that will be created in the PortX Forwarder will be forwarded in real time to the PortX Receiver and will be reflect there under the same Folders and Logs structure.

 

Â