Known issues and workarounds for federated search in Alpha 1.1

Review known issues and workarounds for federated search in the Federation 2.0 Alpha 1.1 program.

Search issues

  • In SPL2 federated searches, applying the LIKE function to a partition field value that has the string data type causes searches to return 0 results. (SPL-290763)

    Workaround: Append an empty string before the LIKE function:

    CODE
    SELECT * FROM time_partitioning_hive_unix_glue_crawler WHERE time_str + "" LIKE "2025%"

    Alternatively, transform the partition field with the upper() or lower() function:

    CODE
    SELECT * FROM time_partitioning_hive_unix_glue_crawler WHERE upper(time_str) LIKE "2025%"

    The LIKE function returns expected results when applied to partition fields with non-string data types, such as integers, and when applied to non-partition field strings.

  • There is no warning or error message when you try to search an Amazon S3 dataset with syntax like index=s3_index. Instead, such searches return 0 results. (SPL-288326)

    You cannot search Amazon S3 datasets with SPL1. Convert such searches to SPL2 and then run the converted search.

  • SPL2 federated searches that use the estdc() aggregate function can return different results than similar non-federated SPL2 searches. (SPL-288179)

    The estdc() aggregate function provides the estimated count of a field. When you apply estdc() to a field from a federated dataset, there is a 4-6% difference in approximation compared to a non-federated dataset.

  • SPL2 federated searches do not round values to a specific number of decimal places. (SPL-287956)

    Add a round() eval function to the search that explicitly sets the number of decimal places you want. For example:

    CODE
    FROM some_dataset SELECT stdev(bytes) as std_bytes
    | eval rounded_bytes = round(std_bytes, 2)
  • SPL2 federated searches that run over datasets with Time fields or Time partition fields that include %a or %A time format variables (weekday names) fail. (SPL-288510)
  • The Search and Reporting app does not return results in incremental batches while a federated search is running. You can view search results only after the federated search is finished running.
  • SPL2 federated searches that run the union command over remote datasets can return inconsistent results.

    When SPL2 searches run union over remote datasets, some parts of the search are run as subsearches. By default, subsearches return a maximum of 10,000 results and have a maximum runtime of 60 seconds. In large production environments, it is possible that such subsearches time out before they complete.

    To improve result fidelity, use the LIMIT clause in the from command to limit the number of events that the subsearch must process.

  • SPL2 federated searches that match a number of results that exceed an explicit LIMIT clause (or the implicit limit set by the max_number_of_results setting) can return different result sets each time they are run.

    To get consistent results, add an ORDER BY clause to the search. Alternatively, redesign the search to match a number of results that is smaller than the number enforced by the LIMIT clause or the max_number_of_results setting.