Softwr

Logging · head to head

Datadog Logs vs Swift

Datadog Logs logo

Datadog Logs

Logging

Log Management and Analytics

From
$0.1/per GB ingested per month
Free plan
No
Swift logo

Swift

Mobile Development

Open source programming language from Apple for apps, servers and embedded systems

From
Free
Free plan
Yes

The short version

  • Swift is free; Datadog Logs starts at $0.1/mo.
  • Only Datadog Logs lists log ingestion; only Swift lists native compiled code.
  • Where Datadog Logs falls short: complex, multi-tiered pricing model based on ingestion, indexing, and storage; can become expensive at scale.
  • Where Swift falls short: strongest tooling is on Apple platforms, with Xcode for iOS and macOS apps.

How do Datadog Logs and Swift differ?

Datadog Logs and Swift differ on starting price, pricing model (Usage-based against Open-source) and free tier (No against Yes). Only the attributes on which Datadog Logs and Swift actually diverge.

Attributes where Datadog Logs and Swift differ
AttributeDatadog LogsSwift
Starting price$0.1/per GB ingested per monthFree
Pricing modelUsage-basedOpen-source
Free tierNoYes
PlatformsWebmacOS, Linux, Windows, iOS
CategoryLoggingMobile Development

Not yet recorded: founded for Swift.

Which features does each one have?

They share no listed features; 9 appear only for Datadog Logs and 8 only for Swift. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Datadog Logs

  • Log ingestion
  • Full-text search
  • Custom dashboards
  • Log-based metrics
  • API
  • Webhooks
  • REST
  • Web support

Only in Swift

  • Native compiled code
  • Type inference and optionals
  • Memory and data race safety checks
  • async and await with actors
  • C and C++ interoperability
  • Package ecosystem
  • Linux, macOS and Windows toolchains
  • Embedded and server targets

What is each one used for?

Datadog Logs is most often brought in for centralised log aggregation and analysis; Swift for iOS and macOS apps. The jobs each tool is most often brought in to do.

Datadog Logs

  • Centralised log aggregation and analysisnot Swift
  • Multi-source log correlation with metrics and tracesnot Swift
  • Root cause analysis and troubleshootingnot Swift
  • Security monitoring and threat detectionnot Swift

Swift

  • iOS and macOS appsnot Datadog Logs
  • Server-side servicesnot Datadog Logs
  • Command-line toolsnot Datadog Logs
  • Embedded firmwarenot Datadog Logs

Where do Datadog Logs and Swift fall short?

Datadog Logs's most cited limit: complex, multi-tiered pricing model based on ingestion, indexing, and storage; can become expensive at scale. Swift's: strongest tooling is on Apple platforms, with Xcode for iOS and macOS apps. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Datadog Logs

  • Complex, multi-tiered pricing model based on ingestion, indexing, and storage; can become expensive at scale
  • Ingestion pricing of $0.10/GB can accumulate rapidly for high-volume logging environments
  • Flex Logs does not support monitors or Watchdog Insights; only Standard Indexing does
  • Usage above an annual commitment is billed at 50 percent more than the committed annual price
  • On-demand accounts default to 15-day retention, and forwarding between Datadog accounts is not supported

Swift

  • Strongest tooling is on Apple platforms, with Xcode for iOS and macOS apps
  • It is a language, so UI, server and database libraries are separate choices
  • Versions 1.0 to 2.1 were proprietary and later versions are Apache 2.0
  • Cross-platform mobile UI needs other frameworks such as Flutter or React Native

How much do Datadog Logs and Swift cost?

Datadog Logs starts at $0.1/mo; Swift is free to use. Plan by plan below, from each vendor's own pricing page.

Datadog Logs

$0.1/per GB ingested per month
  • Log ingest$0.1/per gb
  • Standard Indexing (15-day retention, annual)$1.7
  • Flex Storage$0.05
  • Flex Logs Starter$0.6

Swift

Free

No published plan breakdown. See the Swift review.

Which should you pick?

Choose Datadog Logs if

  • You need log ingestion.
  • You also want full-text search.

Choose Swift if

  • You need native compiled code.
  • You want to start without paying.
  • You work on macOS, Linux, Windows, iOS.
  • You also want type inference and optionals.

Questions people ask

Is Datadog Logs or Swift better?
It depends on the job. Datadog Logs fits centralised log aggregation and analysis; Swift fits iOS and macOS apps. Datadog Logs starts at $0.1/per GB ingested per month and Swift at Free.
Which is cheaper, Datadog Logs or Swift?
Swift has a free tier; the other does not. Paid plans start at $0.1/per GB ingested per month for Datadog Logs and Free for Swift.
Does Datadog Logs or Swift run on more platforms?
Datadog Logs runs on Web. Swift runs on macOS, Linux, Windows, iOS.
Can I use Swift for free?
Yes. Swift has a free tier, so you can try it without paying. Datadog Logs starts at $0.1/per GB ingested per month.
What is Datadog Logs best used for?
Datadog Logs is most often used for centralised log aggregation and analysis, multi-source log correlation with metrics and traces, root cause analysis and troubleshooting, security monitoring and threat detection. Of those, centralised log aggregation and analysis and multi-source log correlation with metrics and traces are not what Swift is typically brought in for.
What can Datadog Logs do that Swift cannot?
Datadog Logs covers Log ingestion, Full-text search, Custom dashboards, Log-based metrics. Swift covers Native compiled code, Type inference and optionals, Memory and data race safety checks, async and await with actors.

Answered from the vendors’ own pages

Datadog Logs: What pricing options does Datadog offer for log ingestion and processing?

Log ingestion starts at $0.10/GB (annual billing; $0.10 on-demand). Standard indexing costs $1.70 per million events per month (annual; $2.55 on-demand). Flex Storage costs $0.05/million events stored per month (annual; $0.075 on-demand). Flex Logs Starter costs $0.60/million events stored per month (annual; $0.90 on-demand).

Source
Swift: Is Swift open source?

Yes. Wikipedia says it has been released under Apache 2.0 since version 2.2 in December 2015, and the Swift site links to the SwiftLang GitHub organisation.

Source
Datadog Logs: What retention options are available and how does it affect pricing?

Standard indexing offers 15-day retention with options for 3 to 30+ days. Flex Storage supports flexible retention up to 15 months. Flex Logs Starter includes bundled compute for retention of 3-15 months.

Source
Swift: Which platforms does Swift run on?

The Swift site lists tools for Linux, macOS and Windows, and Wikipedia also lists Apple operating systems, WebAssembly and Android. The infobox also lists FreeBSD and z/OS.

Source
Datadog Logs: Is there a cost to forward logs to external systems?

Yes, log forwarding costs $0.25/GB outbound per destination for routing logs to external systems.

Source
Swift: When was Swift released?

Apple showed it at WWDC on 2 June 2014, and Swift 1.0 arrived in September 2014, according to Wikipedia. Swift 5 in 2019 brought a stable binary interface.

Source
Datadog Logs: What discounts are available for high-volume customers?

Multi-year and volume discounts are available for customers processing 3B+ events per month.

Source
Share

Related pages

Other head to heads