Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once the data source is configured, you can either send us the required information if you want us to host and manage the collector for you (Cloud collector), or deploy and host the collector in your own machine using a Docker image (On-premise collector).

This data collector can be run in any machine that has the Docker service available because it should be executed as a docker container. The following sections explain how to prepare all the required setup for having the data collector running.

Structure

The following directory structure should be created for being used when running the collector:

<any_directory> └── devo-collectors/ └── <product_name>/ ├── certs/ │ ├── chain.crt │ ├── <your_domain>.key │ └── <your_domain>.crt

Rw ui tabs macro

Rw tab
title

On-premise collector
Code Block
Cloud collector

We use a piece of software called Collector Server to host and manage all our available collectors. If you want us to host this collector for you, get in touch with us and we will guide you through the configuration.

To enable the collector for a customer:

  1. In the Collector Server GUI, access the domain in which you want this instance to be created

  2. Click Add Collector and find the one you wish to add.

  3. In the Version field, select the latest value.

  4. In the Collector Name field, set the value you prefer (this name must be unique inside the same Collector Server domain).

  5. In the sending method select Direct Send. Direct Send configuration is optional for collectors that create Table events, but mandatory for those that create Lookups.

  6. In the Parameters section, establish the Collector Parameters as follows below:

Editing the JSON configuration

Code Block
languagejson
{
  "global_overrides": {
    "debug": false
  },
  "inputs": {
    "akamai-event-viewer": {
      "id": "<short_unique_id>",
      "enabled": true,
      "credentials": {
      ├── state/
  "access_token": "<access_token_value>",
      └── config/ 
 "client_secret": "<client_secret_value>",
        "client_token": "<client_token_value>"
 └── config.yaml 
Note

Replace <product_name> with the proper value.

Devo credentials

In Devo, go to Administration → Credentials → X.509 Certificates, download the Certificate, Private key and Chain CA and save them in <product_name>/certs/. Learn more about security credentials in Devo here.

Image Removed
Note

Replace <product_name> with the proper value.

Editing the config.yaml file

Code Block
languageyaml
globals:
  debug: false
  id: not used
  name: akamai-event-viewer
  persistence:
    type: filesystem
    config:    },
      "environment": "<environment_value>",
      "services": {
        "event_viewer_events": {
           directory_name: state
outputs:"override_base_url": "<host_value>",
     devo_1:     type: devo_platform"request_period_in_seconds": "<request_period_in_seconds_value>",
    config:       address"logs_limit": <devo_address>"<logs_limit_value>",
          chain"eventTypeId": <chain"<eventTypeId_filename>value>"
      cert: <cert_filename> }
     key: <key_filename>}
inputs:   akamai-event-viewer: }
  }
id: <short_unique_id>}

Example:

Code Block
{
  "global_overrides": {
    enabled"debug": truefalse
  },
 credentials "inputs": {
     access_token: <access_token_value>"akamai-event-viewer": {
      client_secret: <client_secret_value>"id": "1234567",
      client_token"enabled": <client_token_value>true,
    environment: <environment_value>
  "credentials": {
  services:       list_events:"access_token": "your_access_token",
        override_base_url: <host_value>"client_secret": "your_client_secret",
        request_period_in_seconds"client_token": <request"your_period_in_seconds_value>client_token"
      },
 logs_limit: <logs_limit_value>     "environment": "prod",
  eventTypeId: <eventTypeId_value>

Example:

Code Block
languageyaml
globals:   debug"services": false{
   id: not_used   name: akamai-"event-viewer-collector
  persistence_viewer_events": {
   type: filesystem     config:
      directory_name: state
outputs:
  devo_1: "override_base_url": "apiakamai.net",
         type: devo_platform
 "request_period_in_seconds": 60,
   config:       address"logs_limit": collector-eu.devo.io50,
      chain: chain.crt   "eventTypeId": "None"
  cert: example.crt     }
 key: example.key inputs:   akamai-event-viewer:}
    id:}
"123456"     enabled: true
    environment: "prod"
    credentials:
      access_token: "your_access_token"
      client_secret: "your_client_secret"
      client_token: "your_client_token"
    services:
      list_events:
        override_base_url: "apiakamai.net"
        request_period_in_seconds: 60
        logs_limit: 5000
        eventTypeId: None
Info

All defined service entities will be executed by the collector. If you do not want to run any of them, just remove the entity from the services object.

Replace the placeholders with your required values following the description table below:

Parameter

Data Type

Requirement

Value Range / Format

Description

<devo_address>

string

Mandatory

Example: logs.example.devo.com

The Devo address where logs will be sent.

<chain_filename>

string

Mandatory

Min length: 4

The filename of the chain certificate downloaded from Devo. Example: chain.crt.

<cert_filename>

string

Mandatory

Min length: 4

The filename of your certificate downloaded from Devo. Example: your_domain.crt.

<key_filename>

string

Mandatory

Min length: 4

The filename of your private key downloaded from Devo. Example: your_domain.key.

<short_unique_id>

string

Mandatory

Min length: 1

Unique identifier for the collector instance.

<enabled>

boolean

Mandatory

true, false

Indicates whether the collector is active.

<access_token_value>

string

Mandatory

Min length: 1

API access token for Akamai Event Viewer authentication.

<client_secret_value>

string

Mandatory

Min length: 1

Secret key used for secure API requests.

<client_token_value>

string

Mandatory

Min length: 1

Token used to identify the client in API requests.

<environment_value>

string

Optional

Example: dev, prod

Specifies the environment. Use dev for development or prod for production.

<host_value>

string

Mandatory

Host URL when making endpoint requests.

Host URL for making requests to the Event Viewer API.

<request_period_in_seconds_value>

int

Optional

Default: 60

Frequency of requests in seconds.

<logs_limit_value>

int

Optional

Default: 5000

Maximum number of logs to retrieve in one API request.

<eventTypeId_value>

string

Optional

Example: 123

ID of the specific event type to filter the events.

Download the Docker image

The collector should be deployed as a Docker container. Download the Docker image of the collector as a .tgz file by clicking the link in the following table:

Collector Docker image

SHA-256 hash

akamai-event-viewerdocker-image.tgz

4848119d70d97a1f6f1a89591df9938c1291a2e0e1844ce881ee6167fe5818fe

Use the following command to add the Docker image to the system:

Code Block
gunzip -c <image_file>-<version>.tgz | docker load
Note

Once the Docker image is imported, it will show the real name of the Docker image (including version info). Replace <image_file> and <version> with a proper value.

The Docker image can be deployed on the following services:

Docker

Execute the following command on the root directory <any_directory>/devo-collectors/<product_name>/

Code Block
docker run 
--name collector-<product_name> 
--volume $PWD/certs:/devo-collector/certs 
--volume $PWD/config:/devo-collector/config 
--volume $PWD/state:/devo-collector/state 
--env CONFIG_FILE=config.yaml 
--rm 
--interactive 
--tty 
<image_name>:<version>
Note

Replace <product_name>, <image_name> and <version> with the proper values.

Docker Compose

The following Docker Compose file can be used to execute the Docker container. It must be created in the <any_directory>/devo-collectors/<product_name>/ directory.

Code Block
version: '3'
services:
  collector-<product_name>:
    image: <image_name>:${IMAGE_VERSION:-latest}
    container_name: collector-<product_name>
    volumes:
      - ./certs:/devo-collector/certs
      - ./config:/devo-collector/config
      - ./credentials:/devo-collector/credentials
      - ./state:/devo-collector/state
    environment:
      - CONFIG_FILE=${CONFIG_FILE:-config.yaml}

To run the container using docker-compose, execute the following command from the <any_directory>/devo-collectors/<product_name>/ directory:

Code Block
IMAGE_VERSION=<version> docker-compose up -d
Note

Replace <product_name>, <image_name> and <version> with the proper values.

Rw tab
titleCloud collector

We use a piece of software called Collector Server to host and manage all our available collectors. If you want us to host this collector for you, get in touch with us and we will guide you through the configuration.

We use a piece of software called Collector Server to host and manage all our available collectors. If you want us to host this collector for you, get in touch with us and we will guide you through the configuration.

To enable the collector for a customer:

  1. In the Collector Server GUI, access the domain in which you want this instance to be created

  2. Click Add Collector and find the one you wish to add.

  3. In the Version field, select the latest value.

  4. In the Collector Name field, set the value you prefer (this name must be unique inside the same Collector Server domain).

  5. In the sending method select Direct Send. Direct Send configuration is optional for collectors that create Table events, but mandatory for those that create Lookups.

  6. In the Parameters section, establish the Collector Parameters as follows below:

Editing the JSON configuration

Code Block
languagejson
{
  "global_overrides": {
    "debug": false
  },
  "inputs": {
    "akamai-event-viewer": {
      "id": "<short_unique_id>",
      "enabled": true,
      "credentials": {
        "access_token": "<access_token_value>",
        "client_secret": "<client_secret_value>",
        "client_token": "<client_token_value>"
      },
      "environment": "<environment_value>",
      "services": {
        "list_events": {
          "override_base_url": "<host_value>",
          "request_period_in_seconds": "<request_period_in_seconds_value>",
          "logs_limit": "<logs_limit_value>",
          "eventTypeId": "<eventTypeId_value>"
        }
      }
    }
  }
}

Example:

Code Block
{
  "global_overrides": {
    "debug": false
  },
  "inputs": {
    "akamai-event-viewer": {
      "id": "1234567",
      "enabled": true,
      "credentials": {
        "access_token": "your_access_token",
        "client_secret": "your_client_secret",
        "client_token": "your_client_token"
      },
      "environment": "prod",
      "services": {
        "list_events": {
          "override_base_url": "apiakamai.net",
          "request_period_in_seconds": 60,
          "logs_limit": 5000,
          "eventTypeId": "None"
        }
      }
    }
  }
}

The following table outlines the parameters available for configuring the collector. Each parameter is categorized by its necessity (mandatory or optional), data type, acceptable values or formats, and a brief description.

Parameter

Data Type

Requirement

Value Range / Format

Description

<short_unique_id>

string

Mandatory

Min length: 1

Unique identifier for the collector instance.

<enabled>

boolean

Mandatory

true, false

Indicates whether the collector is active.

<access_token_value>

string

Mandatory

Min length: 1

API access token for Akamai Event Viewer authentication.

<client_secret_value>

string

Mandatory

Min length: 1

Secret key used for secure API requests.

<client_token_value>

string

Mandatory

Min length: 1

Token used to identify the client in API requests.

<environment_value>

string

Optional

Example: dev, prod

Specifies the environment. Use dev for development or prod for production.

<host_value>

string

Mandatory

Host URL when making endpoint requests.

Host URL for making requests to the Event Viewer API.

<request_period_in_seconds_value>

integer

Optional

Default: 60

Frequency of requests in seconds.

<logs_limit_value>

integer

Optional

Default: 5000

Maximum number of logs to retrieve in one API request.

<eventTypeId_value>

string

Optional

Example: 123

ID of the specific event type to filter the events.

...

}
}

The following table outlines the parameters available for configuring the collector. Each parameter is categorized by its necessity (mandatory or optional), data type, acceptable values or formats, and a brief description.

Parameter

Data Type

Requirement

Value Range / Format

Description

<short_unique_id>

string

Mandatory

Min length: 1

Unique identifier for the collector instance.

<enabled>

boolean

Mandatory

true, false

Indicates whether the collector is active.

<access_token_value>

string

Mandatory

Min length: 1

API access token for Akamai Event Viewer authentication.

<client_secret_value>

string

Mandatory

Min length: 1

Secret key used for secure API requests.

<client_token_value>

string

Mandatory

Min length: 1

Token used to identify the client in API requests.

<environment_value>

string

Optional

Example: dev, prod

Specifies the environment. Use dev for development or prod for production.

<host_value>

string

Mandatory

Host URL when making endpoint requests.

Host URL for making requests to the Event Viewer API.

<request_period_in_seconds_value>

integer

Optional

Default: 60

Frequency of requests in seconds.

<logs_limit_value>

integer

Mandatory

Min Value: 1
Max Value: 50

Maximum number of logs to retrieve in one API request. (Or check the doc of akamai for range of limits).

<eventTypeId_value>

string

Mandatory

Example: 123

ID of the specific event type to filter the events.

Rw tab
titleOn-premise collector

This data collector can be run in any machine that has the Docker service available because it should be executed as a docker container. The following sections explain how to prepare all the required setup for having the data collector running.

Structure

The following directory structure should be created for being used when running the collector:

Code Block
<any_directory>
└── devo-collectors/
    └── <product_name>/
        ├── certs/
        │   ├── chain.crt
        │   ├── <your_domain>.key
        │   └── <your_domain>.crt
        ├── state/
        └── config/ 
            └── config.yaml 
Note

Replace <product_name> with the proper value.

Devo credentials

In Devo, go to Administration → Credentials → X.509 Certificates, download the Certificate, Private key and Chain CA and save them in <product_name>/certs/. Learn more about security credentials in Devo here.

Image Added
Note

Replace <product_name> with the proper value.

Editing the config.yaml file

Code Block
languageyaml
globals:
  debug: false
  id: not used
  name: akamai-event-viewer
  persistence:
    type: filesystem
    config:
      directory_name: state
outputs:
  devo_1:
    type: devo_platform
    config:
      address: <devo_address>
      chain: <chain_filename>
      cert: <cert_filename>
      key: <key_filename>
inputs:
  akamai-event-viewer:
    id: <short_unique_id>
    enabled: true
    credentials:
      access_token: <access_token_value>
      client_secret: <client_secret_value>
      client_token: <client_token_value>
    environment: <environment_value>
    services:
      event_viewer_events:
        override_base_url: <host_value>
        request_period_in_seconds: <request_period_in_seconds_value>
        logs_limit: <logs_limit_value>
        eventTypeId: <eventTypeId_value>

Example:

Code Block
languageyaml
globals:
  debug: false
  id: not_used
  name: akamai-event-viewer-collector
  persistence:
    type: filesystem
    config:
      directory_name: state
outputs:
  devo_1:
    type: devo_platform
    config:
      address: collector-eu.devo.io
      chain: chain.crt
      cert: example.crt
      key: example.key
inputs:
  akamai-event-viewer:
    id: "123456"
    enabled: true
    environment: "prod"
    credentials:
      access_token: "your_access_token"
      client_secret: "your_client_secret"
      client_token: "your_client_token"
    services:
      event_viewer_events:
        override_base_url: "apiakamai.net"
        request_period_in_seconds: 60
        logs_limit: 50
        eventTypeId: None
Info

All defined service entities will be executed by the collector. If you do not want to run any of them, just remove the entity from the services object.

Replace the placeholders with your required values following the description table below:

Parameter

Data Type

Requirement

Value Range / Format

Description

<devo_address>

string

Mandatory

Example: logs.example.devo.com

The Devo address where logs will be sent.

<chain_filename>

string

Mandatory

Min length: 4

The filename of the chain certificate downloaded from Devo. Example: chain.crt.

<cert_filename>

string

Mandatory

Min length: 4

The filename of your certificate downloaded from Devo. Example: your_domain.crt.

<key_filename>

string

Mandatory

Min length: 4

The filename of your private key downloaded from Devo. Example: your_domain.key.

<short_unique_id>

string

Mandatory

Min length: 1

Unique identifier for the collector instance.

<enabled>

boolean

Mandatory

true, false

Indicates whether the collector is active.

<access_token_value>

string

Mandatory

Min length: 1

API access token for Akamai Event Viewer authentication.

<client_secret_value>

string

Mandatory

Min length: 1

Secret key used for secure API requests.

<client_token_value>

string

Mandatory

Min length: 1

Token used to identify the client in API requests.

<environment_value>

string

Optional

Example: dev, prod

Specifies the environment. Use dev for development or prod for production.

<host_value>

string

Mandatory

Host URL when making endpoint requests.

Host URL for making requests to the Event Viewer API.

<request_period_in_seconds_value>

int

Optional

Default: 60

Frequency of requests in seconds.

<logs_limit_value>

int

Mandatory

Min Value: 1
Max Value: 50

Maximum number of logs to retrieve in one API request.(Or check the doc of akamai for range of limits).

<eventTypeId_value>

string

Mandatory

Example: 123

ID of the specific event type to filter the events.

Download the Docker image

The collector should be deployed as a Docker container. Download the Docker image of the collector as a .tgz file by clicking the link in the following table:

Collector Docker image

SHA-256 hash

akamai-event-viewerdocker-image-1.0.1.tgz

3e80c3b0dcdde9c8dd8f10096a31a5c4c4d7eff3c1e8b162a7da19f5d57decb3

Use the following command to add the Docker image to the system:

Code Block
gunzip -c <image_file>-<version>.tgz | docker load
Note

Once the Docker image is imported, it will show the real name of the Docker image (including version info). Replace <image_file> and <version> with a proper value.

The Docker image can be deployed on the following services:

Docker

Execute the following command on the root directory <any_directory>/devo-collectors/<product_name>/

Code Block
docker run 
--name collector-<product_name> 
--volume $PWD/certs:/devo-collector/certs 
--volume $PWD/config:/devo-collector/config 
--volume $PWD/state:/devo-collector/state 
--env CONFIG_FILE=config.yaml 
--rm 
--interactive 
--tty 
<image_name>:<version>
Note

Replace <product_name>, <image_name> and <version> with the proper values.

Docker Compose

The following Docker Compose file can be used to execute the Docker container. It must be created in the <any_directory>/devo-collectors/<product_name>/ directory.

Code Block
version: '3'
services:
  collector-<product_name>:
    image: <image_name>:${IMAGE_VERSION:-latest}
    container_name: collector-<product_name>
    volumes:
      - ./certs:/devo-collector/certs
      - ./config:/devo-collector/config
      - ./credentials:/devo-collector/credentials
      - ./state:/devo-collector/state
    environment:
      - CONFIG_FILE=${CONFIG_FILE:-config.yaml}

To run the container using docker-compose, execute the following command from the <any_directory>/devo-collectors/<product_name>/ directory:

Code Block
IMAGE_VERSION=<version> docker-compose up -d
Note

Replace <product_name>, <image_name> and <version> with the proper values.

This section is intended to explain how to proceed with specific actions for services.

...

Release

Released on

Release type

Details

Recommendations

v1.0.1

Status
colourRed
titleFIX

Changed service name in example_params.json

Recommended version

v1.0.0

Status
colourPurple
titleNEW FEATURE

The Akamai Event Viewer Collector aggregates and streams security event data from Akamai's platform for monitoring and analysis.

Recommended version Upgrade