Loading

Configure log data sources

Stack Serverless

The observability:logSources Kibana advanced setting defines which index patterns your deployment or project uses to store and query log data.

Configure this setting at Stack ManagementAdvanced Settings or by searching for Advanced Settings in the global search field.

Note

Adding indices to the observability:logSources setting that don't contain log data may cause degraded functionality. Changes to this setting can also impact the sources queried by log threshold rules.

Important

Using the saved_objects API to import log data sources has the following limitations:

  • To import the log data source, you need to import the entire Advanced Settings saved object. This overwrites any other changes that you've made to your Advanced Settings in the target cluster, not just observability:logSources.
  • This approach is backward compatible, but not forward compatible. You cannot import the settings from an older version to a newer version.

To configure log data sources using the saved_objects API and the Advanced Settings saved object:

  1. Go to Stack ManagementAdvanced Settings from the navigation menu or use the global search field.
  2. Configure your custom log sources in observability:logSources.
  3. Go to Stack ManagementSaved Objects from the navigation or use the global search field.
  4. Export the Advanced Settings saved object.
  5. Import the saved object to your target cluster using the import saved objects API.