Added new docs examples (#1101)
* Added new docs examples * Updated enabled files list
This commit is contained in:
committed by
GitHub
parent
7b7c9130f3
commit
508aa362e6
26
docs/doc_examples/9a4d5e41c52c20635d1fd9c6e13f6c7a.asciidoc
Normal file
26
docs/doc_examples/9a4d5e41c52c20635d1fd9c6e13f6c7a.asciidoc
Normal file
@ -0,0 +1,26 @@
|
||||
// This file is autogenerated, DO NOT EDIT
|
||||
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
||||
|
||||
[source, js]
|
||||
----
|
||||
const response0 = await client.index({
|
||||
index: 'metricbeat-2016.05.30',
|
||||
id: '1',
|
||||
refresh: true,
|
||||
body: {
|
||||
'system.cpu.idle.pct': 0.908
|
||||
}
|
||||
})
|
||||
console.log(response0)
|
||||
|
||||
const response1 = await client.index({
|
||||
index: 'metricbeat-2016.05.31',
|
||||
id: '1',
|
||||
refresh: true,
|
||||
body: {
|
||||
'system.cpu.idle.pct': 0.105
|
||||
}
|
||||
})
|
||||
console.log(response1)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user