Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/groovy

env.KBN_ES_SNAPSHOT_USE_UNVERIFIED = 'true'

library 'kibana-pipeline-library'
kibanaLibrary.load()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,16 @@
}
},
"type": "text"
},
}
},
"runtime": {
"runtime_number": {
"type": "runtime",
"runtime_type" : "long",
"script" : { "source" : "emit(doc['bytes'].value)" }
"type": "long",
"script": {
"script": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be double nested?

"source": "emit(doc['bytes'].value)"
}
}
}
}
},
Expand Down Expand Up @@ -712,11 +717,16 @@
}
},
"type": "text"
},
}
},
"runtime": {
"runtime_number": {
"type": "runtime",
"runtime_type" : "long",
"script" : { "source" : "emit(doc['bytes'].value)" }
"type": "long",
"script": {
"script": {
"source": "emit(doc['bytes'].value)"
}
}
}
}
},
Expand Down Expand Up @@ -1082,11 +1092,16 @@
}
},
"type": "text"
},
}
},
"runtime": {
"runtime_number": {
"type": "runtime",
"runtime_type" : "long",
"script" : { "source" : "emit(doc['bytes'].value)" }
"type": "long",
"script": {
"script": {
"source": "emit(doc['bytes'].value)"
}
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
}
},
"type": "text"
},
}
},
"runtime": {
"runtime_customer_ssn": {
"type": "runtime",
"runtime_type": "keyword",
"type": "keyword",
"script": {
"source": "emit(doc['customer_ssn'].value + ' calculated at runtime')"
}
Expand Down