Skip to main content

Exporting Requests

LogDog provides powerful export capabilities to help you analyze, share, and integrate your network request data with other tools and systems.

Overview

You can export your captured requests in three different formats:

  • JSON - Raw LogDog data format for full analysis
  • CSV - Simple tabular format for spreadsheet analysis
  • HAR - Standard HTTP Archive format for tool interoperability

How to Export

Step 1: Select Requests

  1. Open the LogDog Dashboard and navigate to your device
  2. Use the search and filter options to find the requests you want to export
  3. Select individual requests by clicking on them, or use the "Select All" option
  4. The status bar will show how many requests are selected

Step 2: Open Export Modal

  1. Click the "Export" button in the bottom status bar
  2. The Export Modal will open showing export options and a preview

Step 3: Choose Format and Export

  1. Select your desired export format from the dropdown
  2. Review the preview to ensure the data looks correct
  3. Click "Export" to download the file

Export Modal

Export Formats

JSON Format

The JSON format exports the complete LogDog request data structure, including all metadata, timing information, and raw request/response data.

Best for:

  • Complete data analysis
  • Custom processing scripts
  • Debugging and development
  • Data backup

File extension: .json

Example structure:

[
{
"id": "req_123",
"type": "network",
"level": "info",
"createdAt": "2024-01-15T10:30:00.000Z",
"details": {
"request": {
"method": "GET",
"url": "https://api.example.com/users",
"headers": {...},
"body": "..."
},
"response": {
"status": 200,
"headers": {...},
"body": "..."
},
"timings": {
"total": 150,
"dns": 10,
"connect": 20,
"send": 5,
"wait": 100,
"receive": 15
}
}
}
]

CSV Format

The CSV format provides a simplified tabular view of your requests, perfect for spreadsheet analysis and reporting.

Best for:

  • Spreadsheet analysis
  • Quick data review
  • Reporting and metrics
  • Non-technical stakeholders

File extension: .csv

Columns included:

  • type - Request type (network, log, event, etc.)
  • level - Log level (info, warn, error, debug)
  • details - JSON string of request details
  • createdAt - Timestamp of the request

HAR Format

The HAR (HTTP Archive) format is a standardized format that can be imported into browser developer tools, Postman, and other HTTP analysis tools.

Best for:

  • Browser developer tools
  • Postman collections
  • Third-party HTTP analyzers
  • Tool interoperability

File extension: .har

Features:

  • Standard W3C HAR 1.2 format
  • Complete request/response data
  • Timing information
  • Headers and cookies
  • Compatible with Chrome DevTools, Firefox Network Monitor, and more
info

HAR Export Limitation: Only network requests are exported in HAR format. Logs, events, and other request types are filtered out automatically.

HAR Format Details

The HAR export follows the official W3C HAR specification and includes:

Request Information

  • HTTP method and URL
  • Request headers
  • Request body (if present)
  • Query parameters
  • HTTP version

Response Information

  • Status code and status text
  • Response headers
  • Response body
  • Content type and size
  • HTTP version

Timing Data

  • DNS resolution time
  • TCP connection time
  • SSL negotiation time
  • Request send time
  • Server wait time
  • Response receive time

Example HAR Structure

{
"log": {
"version": "1.2",
"creator": {
"name": "LogDog",
"version": "1.0.0",
"comment": "LogDog HTTP Archive Export"
},
"browser": {
"name": "LogDog",
"version": "1.0.0",
"comment": "LogDog Network Inspector"
},
"entries": [
{
"startedDateTime": "2024-01-15T10:30:00.000Z",
"time": 150,
"request": {
"method": "GET",
"url": "https://api.example.com/users",
"httpVersion": "HTTP/1.1",
"headers": [...],
"cookies": [],
"queryString": [],
"headersSize": -1,
"bodySize": -1
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [...],
"cookies": [],
"content": {
"size": 1024,
"mimeType": "application/json",
"text": "..."
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 1024
},
"cache": {},
"timings": {
"blocked": -1,
"dns": 10,
"connect": 20,
"send": 5,
"wait": 100,
"receive": 15,
"ssl": -1
}
}
]
}
}

Using Exported Data

JSON Data

// Load and analyze JSON export
const requests = JSON.parse(jsonData);
requests.forEach(request => {
console.log(`${request.details.request.method} ${request.details.request.url}`);
console.log(`Status: ${request.details.response.status}`);
console.log(`Time: ${request.details.timings.total}ms`);
});

CSV Data

import pandas as pd

# Load CSV export into pandas
df = pd.read_csv('logdog-requests.csv')
print(df.head())

# Filter by status codes
error_requests = df[df['status'] >= 400]
print(f"Error requests: {len(error_requests)}")

HAR Data

// Import HAR into browser dev tools
// 1. Open Chrome DevTools
// 2. Go to Network tab
// 3. Right-click and select "Import HAR"
// 4. Select your exported .har file

Tips and Best Practices

Selecting the Right Format

  • Use JSON when you need complete data for custom analysis
  • Use CSV for quick spreadsheet analysis and reporting
  • Use HAR when working with browser tools or other HTTP analyzers

Performance Considerations

  • Large exports may take time to process
  • The preview shows only the first 10 requests
  • Estimated file size is shown before export
  • Progress is displayed during export

Data Privacy

  • Exported files contain all request/response data
  • Be careful when sharing exports with sensitive information
  • Consider redacting sensitive data before sharing

Integration Examples

  1. Export requests as HAR format
  2. Open Postman
  3. Click "Import" in the top left
  4. Select your HAR file
  5. All requests will be imported as a collection

Troubleshooting

Export Not Working

  • Ensure you have selected at least one request
  • Check that your browser allows downloads
  • Try refreshing the page and selecting requests again

HAR Export Empty

  • HAR format only exports network requests
  • Make sure you have network requests selected
  • Check that requests have type: "network"

Large File Sizes

  • Consider filtering requests before export
  • Use CSV format for large datasets
  • Split exports into smaller chunks if needed

Format Compatibility

  • HAR files work with most modern tools
  • Some older tools may not support HAR 1.2
  • JSON format is always compatible with LogDog

Need Help?