Scrivio Interview library
LeadershipPrincipal7 min read · updated 12 November 2026

Your company uses three log platforms after acquisitions. How would you decide on consolidation and what is the exit strategy if you later need to change vendor?

I would decide by comparing, for each platform, its total cost, its features against what teams actually use, and the effort to move each group of services onto another one. Before moving anything, I would standardise on one structured log format and a collector layer such as OpenTelemetry, and keep application logging independent of any vendor, so the platform behind the collector can change without touching services. Migration then runs in phases with logs shipped to both platforms during the transition, and retention periods and legal holds are planned so no required data is lost when the old platform is switched off.

Why this question is asked

After acquisitions it is normal to inherit two or three of everything, and logging platforms are among the most expensive duplicates: each has its own contract, its own agents, its own query language and its own experts. Consolidation saves money and makes cross-company incidents easier, but a badly run migration loses logs during incidents or breaks legal obligations. Interviewers ask this leadership question to see how we weigh cost against disruption and how we avoid creating the next lock-in while fixing the current one. In this answer, we will set up the comparison, design the layer that makes vendors replaceable, plan the phased migration, deal with retention and legal holds, and describe the exit strategy for the next change.

1Understanding the Starting Point

Picture three groups. The original company sends logs from 300 Spring services to platform A, with a mature set of dashboards and alerts. The first acquisition, 80 services, uses platform B, a commercial vendor with strong security analytics. The second, 40 services, runs a self-hosted Elasticsearch cluster, call it platform C, that one engineer maintains. Each group uses its own agents and some services call vendor libraries directly.

Before choosing anything, I would gather facts per platform: annual cost including staff time, daily ingestion volume, retention settings, the features each group actually uses, contractual end dates, and the compliance requirements that depend on it, such as security monitoring or audit trails. The answers are often surprising. A platform that looks expensive may carry the security team's detection rules, and a cheap self-hosted one may hide a large staff cost and a single person as a risk.

2Making the Decision

With the facts gathered, the decision compares three things for each candidate platform: the cost at the combined volume, the fit for the features people really need, and the effort to move each group onto it. The effort includes rebuilding dashboards and alerts, retraining people on a new query language and changing how services ship logs. A small table makes the trade-off visible to leadership.

In our example, platform A might win on fit for most teams, with platform B's security analytics either replicated in A or kept as a separate security tool fed from the same collector. Platform C, with its single-maintainer risk, should be the first to go. The reasoning a senior person uses is not to find the perfect platform, but the one with the best total outcome over three to five years, including the cost of moving.

Comparing the three platforms (illustrative)
Platform APlatform BPlatform C (self-hosted)
Yearly cost incl. staff1.2 M0.6 M0.25 M + 1 engineer
Services today3008040
Key features useddashboards, alertssecurity analyticssearch only
Effort to move awayhighmediumlow
Main riskprice at renewalsecurity rules depend on itone maintainer
Numbers are examples; the point is to compare total cost, fit and moving effort side by side.

3Standardise the Format and the Collector First

The most important step comes before the migration itself: put a layer we own between services and platforms. Every service writes structured JSON logs to stdout in one schema, such as ECS, which Spring Boot 3.4 and later supports out of the box. A collector, such as the OpenTelemetry Collector or a node agent like Fluent Bit, reads stdout on every node, adds cluster and pod information, and forwards logs to whichever platforms are configured. Services no longer know which platform they send to.

This also means removing vendor-specific code from applications: vendor appenders in logback configuration, vendor SDK calls, and vendor agents that capture logs. Application code keeps logging through SLF4J, and the only logging decision left in a service is its log content. From then on, choosing or changing a platform is a configuration change in the collector, owned by one team.

Properties
# Spring Boot service (from the platform starter): structured JSON to stdout, nothing vendor-specific
logging.structured.format.console=ecs
# Collector routing, shown in outline (owned by the platform team)
# receivers: filelog (container stdout)
# processors: k8s attributes, batch, redact secrets
# exporters: platform_a, platform_b
# pipelines:
# logs/apps: [filelog] -> [k8s, redact, batch] -> [platform_a]
# logs/security: [filelog] -> [k8s, redact, batch] -> [platform_a, platform_b]

Notice that during migration, or permanently for security logs, sending one stream to two platforms is a single line in the collector. That ability makes both the migration and any future exit far cheaper.

4Migrating in Phases With Parallel Shipping

With the collector in place, the migration moves one group at a time. For each group, we first point its services' logs through the collector and ship to both the old and the new platform. During this parallel period, typically one to three months, the team rebuilds its important dashboards, saved searches and alerts on the new platform and uses both during real incidents. When the team confirms the new platform answers their questions, alert routing switches over, and then the old exporter is turned off for that group.

Parallel shipping costs extra for a while, since we pay for both, but it removes the main risk: discovering during an incident that a critical search or alert was never rebuilt. Starting with the smallest, lowest-risk group, platform C in our example, lets us refine the playbook before moving the larger groups.

Step throughMoving one group of services to the new platform
  1. Route the group's logs through the collector
  2. Ship to old and new platform in parallel1 to 3 months
  3. Rebuild dashboards, searches and alertskept as code where possible
  4. Did the new platform serve real incidents well?
    YesSwitch alert routingNoExtend parallel period, fix gaps
  5. Stop shipping to the old platform
  6. Keep old data readable until retention ends

6 steps in order. Play them, or step through them one at a time.

5Retention and Legal Holds

Logs are not only operational data. Some are audit records that regulations require us to keep for a year or more, and some are under legal hold, meaning they must be preserved for a lawsuit or investigation and cannot be deleted on the normal schedule. Switching platforms must not break either obligation.

So before turning off an old platform, we list what it holds under which rule. For ordinary application logs with 30 days of retention, the simplest plan is to keep the old platform readable for 30 days after the switch, then close it. For audit logs and legal holds, we either export the data to long-term storage in an open format, such as compressed JSON in an object store with access controls and an index, or negotiate read-only access with the old vendor until the obligation ends. The legal and compliance teams should sign off on this plan, because the consequences of getting it wrong are not technical.

6The Exit Strategy for Next Time

The same design is the exit strategy if we later need to change vendor again. Services are vendor-neutral, the format is a shared schema, and the collector decides where logs go. Dashboards and alerts are kept as code where the platform allows it. Changing vendor then means adding an exporter, shipping in parallel, rebuilding views and switching, which is weeks of work for the platform team rather than a project touching every service. I would also review contracts on a fixed cycle and keep an internal owner for the logging standard, so the decision is revisited with facts rather than forced at renewal time.

7Follow-up questions

Would you ever keep two platforms permanently?

Yes, when they serve different purposes well. A common outcome is one platform for operational logs and a separate security analytics tool, both fed from the same collector. The goal is not one tool at any cost, but no unplanned duplication.

How do you get acquired teams to accept the change?

Involve them in the comparison, keep the parallel period long enough for them to trust the new platform, and help rebuild their most important dashboards and alerts. Teams resist most when they fear losing visibility during incidents, so the plan should show that they never will.

What if some services cannot change their logging quickly?

The collector can read their existing output, even plain text, and parse it during the transition. They still move platforms with everyone else, and switching their format to structured JSON can follow later through the platform starter.

8Conclusion

In this answer, we consolidated three logging platforms by first gathering facts about cost, features used and moving effort, then choosing the platform with the best overall outcome. We put a structured format and a collector layer in front of all platforms so services stay vendor-neutral, migrated one group at a time with parallel shipping, protected audit retention and legal holds before switching anything off, and kept the same design as the exit strategy for any future change.

What to say in the interviewAbout 80 seconds aloud

Open with

I would start with facts for each platform: total cost including staff time, ingestion volume, retention, the features each group really uses, contract dates, and compliance duties like security monitoring and audit trails.

Then, if they want more

Then I compare cost at the combined volume, fit for those features, and the effort to move each group, and pick the option with the best outcome over several years, not the perfect tool.

Before migrating anything, I put a layer we own in front of all platforms: every service writes structured JSON in one schema, like ECS, to stdout, and an OpenTelemetry Collector or node agent ships it. I remove vendor appenders, SDKs and agents from applications, so services stay independent of the vendor and code only uses SLF4J.

Then I migrate one group at a time, starting with the smallest, shipping to both the old and new platform for one to three months while teams rebuild dashboards and alerts, and switching alert routing only when they trust the new one.

Before closing an old platform, I plan retention and legal holds with the legal team, exporting audit data to open storage or keeping read access until obligations end. The same collector design is my exit strategy if we need to change vendor again.

About this answer

Last updated
12 November 2026
Versions it names
Spring Boot 3.4
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Official documentation
Spring Boot reference
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Your company uses three log platforms after acquisitions. How would you decide on...": https://scrivio-interview-library.netlify.app/spring-boot/boot-logging/af8c7b5941/