Skip to content

Instantly share code, notes, and snippets.

@hidepin
Created December 1, 2018 12:24
Show Gist options
  • Save hidepin/89d23bbaea098b28dd06fe2c4544f205 to your computer and use it in GitHub Desktop.
Save hidepin/89d23bbaea098b28dd06fe2c4544f205 to your computer and use it in GitHub Desktop.
{
  "script": {
    "inline": "doc['system.filesystem.used.bytes'].value * 2",
    "lang": "painless"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment