Getting Started
Akamai
Create an Akamai stream, send it to Honeylog, and verify request delivery.
Use this guide when Akamai serves the website. You will create a DataStream 2 stream that sends the website request data needed by Honeylog.
#Before you open Akamai
Sign in to the Akamai account that manages this website. You need access to Property Manager and Common Services > DataStream, with permission to create a stream and activate a property version. If any of these options are unavailable, send this guide and the private Honeylog installation page to your Akamai administrator.
#Step 1: Open the site property
- Open Akamai Control Center.
- Go to
PropertiesorProperty Manager. - Select the active property that serves this website.
- Confirm that the website domain appears in the property and that the property is active.
Continue only when you are working on the property that serves the website connected to Honeylog.
#Step 2: Create the DataStream 2 stream
- Open
Common Services, thenDataStream. - Click
Create streamand chooseDelivery products. - Select the group, contract, and active property for this website.
- Use the faster or low-latency delivery profile.
- Keep sampling at
100%. - Use
DataStream-managedmode when Akamai offers it. UseProperty Manager-dependentonly if the Akamai team needs rule-level traffic selection.
Before continuing, confirm that the new stream is linked to the correct active property and uses 100% sampling.
#Step 3: Select data fields
Select every field listed below. Copying the complete list prevents missing information that Honeylog needs to recognize visits correctly.
Do not select Cookie. Leave Query string unselected unless your Akamai administrator has specifically asked you to include it.
Data fields:
Log information: CP code, Request ID, Request time, Stream ID
Message exchange: Bytes, Client IP, HTTP status codes, Protocol type, Request host, Request method, Request path, Response Content-Length, Response Content-Type, User-Agent
Network performance: Error code, Request end time, Turnaround time, Transfer time
Request headers: Accept-Language, Referer
Cache: Cache status
Geo: Edge IP, Server country/region
Before continuing, compare the selected fields with this list and confirm that none are missing.
#Step 4: Require request headers in Property Manager
Before activating the stream, make sure the property logs the request details Honeylog needs:
- Open the active property in
Property Manager. - Edit a new version.
- Add or open the
Log Request Detailsbehavior. - Enable logging for
Referer. - Enable logging for
Accept-Language. - Enable logging for
Edge Server IP. - Save and activate the new property version.
If the stream is Property Manager-dependent, also add the DataStream behavior to the same rule, select DataStream2, enable it, choose the Honeylog stream, and keep sampling at 100%. Skip this extra DataStream behavior when the stream is DataStream-managed.
Continue only after Akamai shows that the new property version is active.
#Step 5: Configure the Custom HTTPS destination
- Choose
Custom HTTPSas the destination. - Paste the generated Honeylog values into the matching fields.
- Use Akamai native Basic authentication.
- Do not create a custom Authorization header.
- Select
JSONas the log format. - Choose
30 secondsas the push frequency.
Destination values:
Destination: Custom HTTPS
Endpoint URL: https://api.honeylog.io/akamai/events/SITE_DOMAIN
Authentication: Basic
Username: honeylog
Password: SITE_TOKEN
Format: JSON
Content type: application/json
Push frequency: 30 seconds
Compression: Disabled for first activation
Use the personalized endpoint and password from Settings > Installation > Akamai in Honeylog. Do not use SITE_DOMAIN or SITE_TOKEN literally. Save the destination and continue only when Akamai accepts its validation.
#Step 6: Validate and verify
- Open a few public pages through the website domain served by Akamai.
- Wait for Akamai to deliver the first log batch, then open Honeylog and look for the new visits.
- If the visits appear, the installation is complete.
- If they do not appear, open the first records in DataStream and confirm they contain
User-Agent,Referer,Accept-Language,Request host,Request path,Client IP, andEdge IP. - Send any validation or delivery error to your Akamai administrator or Honeylog support.
DataStream is not available on every Akamai account. A Linode or Akamai Cloud account alone is not enough; the account must include Akamai Control Center access with DataStream 2 enabled.