Skip to content

Instantly share code, notes, and snippets.

@SyeedHasan
Last active May 24, 2021 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SyeedHasan/403aad8598f7ee13fe1e143c05c224e9 to your computer and use it in GitHub Desktop.
Save SyeedHasan/403aad8598f7ee13fe1e143c05c224e9 to your computer and use it in GitHub Desktop.
ELK - Importing Saved Objects

Importing Dashboards in ELK

  1. Visit 'Stack Management'
  2. Head to 'Saved Objects'
  3. Import the NDJSON file for the objects/dashboard you wish to add
  4. Confirm the import

'Requested Entity Too Large' During Imports

Max upload size is restricted in Kibana or a reverse proxy (if you have any). Head to Kibana's configuration and increase the 'maxPayloadSize' key to a larger value. Similarly, if you use Nginx, add the following line to your configuration file to increase the max body size:

http {
  client_max_body_size 100M;
}

Broken Dashboards Due to Index Pattern Corruption:

Importing previously exported dashboards might cause index pattern corruption. Repeat these steps to fix the issue:

  1. Export the new index pattern (after importing the older elements in)
  2. Change the index pattern's ID to the older index pattern's ID
  3. Delete the new index pattern
  4. Import the newly changed index pattern (with corrected ID's)
  5. Retry using the dashboards
@SyeedHasan
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment