Skip to content

Instantly share code, notes, and snippets.

View bmorelli25's full-sized avatar
📚
Writing docs

Brandon Morelli bmorelli25

📚
Writing docs
View GitHub Profile
./build_docs
--all
--keep_hash
--target_repo git@github.com:elastic/built-docs
--target_branch docs_bk_2858
--announce_preview https://docs_bk_2858.docs-preview.app.elstc.co/diff
--push
--reference /opt/git-mirrors/
--rebuild
--procs 16
Default Type Dynamic

<none>

String

false

Java System Properties Property file Environment
@bmorelli25
bmorelli25 / get_file_name.rb
Last active March 24, 2020 22:55
Get file name for doc build
# 1) Install: gem install digest-murmurhash
# 2) Replace contents with the content of your code block
# 3) Run: ruby get_file_name.rb
# 4) The output is the file name
require 'digest/murmurhash'
contents = %q(# With Header: "Authorization: APIKey <base64-encoded-APIKey>"
GET /)
@bmorelli25
bmorelli25 / pipeline.json
Created February 18, 2020 02:59
FitBit heart rate pipeline
PUT _ingest/pipeline/fb-heart-rate
{
"description": "Extract FitBit heart rate data",
"processors": [
{
"grok": {
"field": "message",
"patterns": [
"\"dateTime\" : \"%{DATESTAMP:fb.timestamp}\",\n \"value\" : {\n \"bpm\" : %{NUMBER:fb.bpm},\n \"confidence\" : %{NUMBER:fb.confidence}"
]
@bmorelli25
bmorelli25 / heart_rate-2019-10-06.json
Created February 18, 2020 02:42
FitBit heart rate data snippet
[{
"dateTime" : "10/06/19 07:00:04",
"value" : {
"bpm" : 64,
"confidence" : 3
}
},{
"dateTime" : "10/06/19 07:00:09",
"value" : {
"bpm" : 65,
@bmorelli25
bmorelli25 / input.yml
Created February 18, 2020 02:38
Input example
- type: log
enabled: true
exclude_lines: ['^\[\{','^\s*\}']
paths:
- /Users/brandonmorelli/Downloads/BrandonMorelli/user-site-export/heart_rate*.json
multiline.pattern: '[[:space:]]*"dateTime"'
multiline.negate: true
multiline.match: after
processors:
- add_fields:

Keybase proof

I hereby claim:

  • I am bmorelli25 on github.
  • I am bmorelli25 (https://keybase.io/bmorelli25) on keybase.
  • I have a public key whose fingerprint is ECA0 CB3E 6526 7E41 7105 E962 5B91 D265 1B93 9335

To claim this, I am signing this object:

html/en/apm/server/6.0/configuring.html
html/en/apm/server/6.0/error-api.html
html/en/apm/server/6.0/exported-fields-apm-error.html
--- /dev/fd/63
+++ html/en/apm/server/6.0/exported-fields-apm-error.html
@@ -279,7 +279,7 @@
Error-specific data for APM
</p>
<h3>
- <a id="_literal_view_errors_literal">
html/en/apm/server/6.0/configuring.html
--- /dev/fd/63
+++ html/en/apm/server/6.0/configuring.html
@@ -346,7 +346,7 @@
<code class="literal">
apm-server.ssl.certificate
</code>
- respectively. This will make the APM Server to serve HTTPS requests instead of HTTP. Hence, you also need to enable SSL in the agent. For agent specific details,
+ respectively. This will make the APM Server to serve HTTPS requests instead of HTTP. Hence, you also need to enable SSL in the agent. For agent specific details, please check the {apm-agent-ref}/index.html[agent documentation] for how to do it.
</p>
+2 -1 en/apm/server/6.0/configuring.html
+3 -29 en/apm/server/6.0/error-api.html
+1 -1 en/apm/server/6.0/exported-fields-apm-error.html
+1 -1 en/apm/server/6.0/exported-fields-apm-trace.html
+2 -2 en/apm/server/6.0/exported-fields-apm-transaction.html
+1 -1 en/apm/server/6.0/exported-fields-apm.html
+1 -1 en/apm/server/6.0/exported-fields-beat.html
+1 -1 en/apm/server/6.0/exported-fields-cloud.html
+1 -1 en/apm/server/6.0/exported-fields-docker-processor.html
+1 -1 en/apm/server/6.0/exported-fields-kubernetes-processor.html