Prepare a data source for Machine Data Lake

Prepare a supported data source, choose how to route events to a Machine Data Lake raw table, and plan validation before changing production traffic.

  • You completed Choose an MDL data strategy and know whether the source should land only in Machine Data Lake or also preserve a Splunk index path.

  • You know the Machine Data Lake raw table that receives matching events, or you know when you will create it. Direct HEC and forwarder routing require the raw table resource name, such as ~.federated.<raw_table_name>.

  • You have permission to configure the selected data input and to run validation searches in the raw table and any preserved Splunk index.

  • Ingest Processor resources are available when the selected route uses a raw table landing definition, an Ingest Processor pipeline, or streaming promotion.

Before you configure a source, choose where routing is controlled. Use direct routing when a supported HEC client, forwarder, or OpenTelemetry Collector configuration can target the Machine Data Lake raw table resource name. Use a raw table landing definition when events already reach Splunk Cloud Platform and you need to select matching events by source, sourcetype, host, or other supported conditions.

Choose the routing outcome before you change production traffic. Machine Data Lake-only routing sends matching events to the raw table. Dual routing keeps a Splunk index path available for the same matching events by using the current supported procedure for the selected input route.

  1. Choose how the source routes matching events to Machine Data Lake.

    Use one of the following supported routes:

    For a conceptual summary of these routing options, see Choose how to route data to Machine Data Lake.

  2. If matching events must also continue to a Splunk index, choose the dual-routing procedure for the selected route.
  3. Record the values and behavior that you will validate.
    Matching events

    Record the source, sourcetype, host, time range, partition, or filter values that identify events intended to land in Machine Data Lake.

    Target raw table

    Record the raw table name and the resource name used in configuration, such as ~.federated.<raw_table_name>.

    Preserved Splunk index path

    If matching events must remain available in a Splunk index, record the destination index and the procedure that preserves that route.

    Non-matching events

    Record where events that do not match the landing definition or test condition should go.

    Processing and rollback

    Record any supported filters, masking, Heavy Forwarder processing, Ingest Processor actions, and the previous configuration that you can restore if validation does not match the plan.

  4. Configure the selected route and send a uniquely identifiable test event.

    Use a value that is not already present in production data, such as mdl_test_id=<unique_id>. The direct-routing and dual-routing child tasks include copy-ready examples for sending or generating the test event.

  5. Validate the test event in every expected destination.
    • Verify the uniquely identifiable event in the Machine Data Lake raw table by using a narrow time range and the known source, sourcetype, or host values.

    • If you configured dual routing, verify the same unique event in the preserved Splunk index.

    • If the route uses a raw table landing definition, verify that representative non-matching events do not land in the raw table and still follow the intended route.

    Use raw search, index search, or preview for immediate validation. Catalog metadata, event ranges, field summaries, and dataset statistics can refresh later.

After validation succeeds, continue with Onboard your first data source, or open the raw table in the Catalog to search, promote, share, or manage the landed data.