-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
ebb849a
commit ea9b303
Showing
5 changed files
with
263 additions
and
369 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
112 changes: 112 additions & 0 deletions
112
libbeat/docs/tab-widgets/load-index-template-widget.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
++++ | ||
<div class="tabs" data-tab-group="os"> | ||
<div role="tablist" aria-label="Load index template"> | ||
<button role="tab" | ||
aria-selected="true" | ||
aria-controls="deb-tab-load-index-template" | ||
id="deb-load-index-template"> | ||
DEB | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="rpm-tab-load-index-template" | ||
id="rpm-load-index-template" | ||
tabindex="-1"> | ||
RPM | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="mac-tab-load-index-template" | ||
id="mac-load-index-template" | ||
tabindex="-1"> | ||
MacOS | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="linux-tab-load-index-template" | ||
id="linux-load-index-template" | ||
tabindex="-1"> | ||
Linux | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="docker-tab-load-index-template" | ||
id="docker-load-index-template" | ||
tabindex="-1"> | ||
Docker | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="win-tab-load-index-template" | ||
id="win-load-index-template" | ||
tabindex="-1"> | ||
Windows | ||
</button> | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="deb-tab-load-index-template" | ||
aria-labelledby="deb-load-index-template"> | ||
++++ | ||
|
||
include::load-index-template.asciidoc[tag=deb] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="rpm-tab-load-index-template" | ||
aria-labelledby="rpm-load-index-template" | ||
hidden=""> | ||
++++ | ||
|
||
include::load-index-template.asciidoc[tag=rpm] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="mac-tab-load-index-template" | ||
aria-labelledby="mac-load-index-template" | ||
hidden=""> | ||
++++ | ||
|
||
include::load-index-template.asciidoc[tag=mac] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="linux-tab-load-index-template" | ||
aria-labelledby="linux-load-index-template" | ||
hidden=""> | ||
++++ | ||
|
||
include::load-index-template.asciidoc[tag=linux] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="docker-tab-load-index-template" | ||
aria-labelledby="docker-load-index-template" | ||
hidden=""> | ||
++++ | ||
|
||
include::load-index-template.asciidoc[tag=docker] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel"v | ||
id="win-tab-load-index-template" | ||
aria-labelledby="win-load-index-template" | ||
hidden=""> | ||
++++ | ||
|
||
include::load-index-template.asciidoc[tag=win] | ||
|
||
++++ | ||
</div> | ||
</div> | ||
++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// tag::deb[] | ||
["source","sh",subs="attributes"] | ||
---- | ||
{beatname_lc} setup --index-management | ||
---- | ||
// end::deb[] | ||
|
||
// tag::rpm[] | ||
["source","sh",subs="attributes"] | ||
---- | ||
{beatname_lc} setup --index-management | ||
---- | ||
// end::rpm[] | ||
|
||
// tag::mac[] | ||
["source","sh",subs="attributes"] | ||
---- | ||
./{beatname_lc} setup --index-management | ||
---- | ||
// end::mac[] | ||
// tag::linux[] | ||
["source","sh",subs="attributes"] | ||
---- | ||
./{beatname_lc} setup --index-management | ||
---- | ||
// end::linux[] | ||
// tag::docker[] | ||
["source","sh",subs="attributes"] | ||
---- | ||
docker run --net="host" {dockerimage} setup --index-management | ||
---- | ||
// end::docker[] | ||
|
||
// tag::win[] | ||
|
||
Open a PowerShell prompt as an Administrator (right-click the PowerShell icon | ||
and select *Run As Administrator*). | ||
|
||
From the PowerShell prompt, change to the directory where you installed {beatname_uc}, | ||
and run: | ||
|
||
["source","sh",subs="attributes"] | ||
---- | ||
PS > .{backslash}{beatname_lc}.exe setup --index-management | ||
---- | ||
// end::win[] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.