Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Streamline beats getting started guides #17007

Merged
merged 42 commits into from
Jun 18, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
9fca58e
Move detail out of getting started guides
dedemorton Mar 14, 2020
78d1868
Changes in progress
dedemorton May 7, 2020
d5edbef
Add widgets
dedemorton May 8, 2020
98871be
Change tag width to 100%
dedemorton May 9, 2020
5c8b18f
remove unused css and red border
bmorelli25 May 11, 2020
aa992f2
breathing room below tab content
bmorelli25 May 11, 2020
ec5ae26
Remove inexplicable tab
dedemorton May 11, 2020
f13e935
Clean up wording
dedemorton May 12, 2020
46bf73c
Cleanup the getting started and move some stuff
dedemorton May 13, 2020
70023ad
Git auditbeat building
dedemorton May 14, 2020
352f9aa
Get all books building
dedemorton May 14, 2020
40c97db
More small changes
dedemorton May 14, 2020
5eac1e8
Fix build errors
dedemorton May 15, 2020
e48e739
Finish adding widgets and cleaning up gs guides
dedemorton May 16, 2020
7773f42
Fix widget filenames
dedemorton May 18, 2020
cde03dd
More cleanup work
dedemorton May 22, 2020
08c7af0
Add keystore tip to cloud example
dedemorton May 27, 2020
7cf5981
Another round of improvements
dedemorton May 28, 2020
58ada33
Delete redundant files
dedemorton May 28, 2020
09a5230
Replace dashboards in quick start topics
dedemorton May 29, 2020
16801a9
Change short titles for quick start guides
dedemorton May 29, 2020
59e2031
Make shared what's next list easier to include
dedemorton May 29, 2020
75b1f34
Remove modules quick start
dedemorton May 29, 2020
c8821a8
More cleanup
dedemorton May 30, 2020
56e06a9
Remove redundant files
dedemorton May 30, 2020
42e3281
Remove Logstash from the Winlogbeat quick start
dedemorton May 30, 2020
b7dcbbc
Remove old comments
dedemorton May 30, 2020
7e7f1d8
More cleanup work
dedemorton May 31, 2020
aee466d
Delete unused graphics
dedemorton May 31, 2020
4a8a003
Use correct spelling for GitHub
dedemorton Jun 4, 2020
6c7ffb6
Add formatting
dedemorton Jun 4, 2020
6514c40
Use correct capitalization for GitHub
dedemorton Jun 4, 2020
f003270
Use time filter instead of date range
dedemorton Jun 4, 2020
2e9f4ba
Change wording of headings as suggested during review
dedemorton Jun 6, 2020
be2a844
Add more fixes from the review
dedemorton Jun 16, 2020
e420b1d
Synchronize widget tab selection and fix bugs
dedemorton Jun 17, 2020
2227dcd
Include javascript only once in a file
dedemorton Jun 17, 2020
a7a2238
Add script and stylesheet to support tabbed panel
dedemorton Jun 18, 2020
cb7a36d
Fix step numbering
dedemorton Jun 18, 2020
be0b7e1
Include code for displaying tabbed panel
dedemorton Jun 18, 2020
0827608
Add javascript and css for tabbed panel
dedemorton Jun 18, 2020
c8d9c7d
Fix code include
dedemorton Jun 18, 2020
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
Prev Previous commit
Next Next commit
Get all books building
  • Loading branch information
dedemorton committed May 14, 2020
commit 352f9aa0ce90687a7038a4f7c51e994556571790
14 changes: 1 addition & 13 deletions auditbeat/docs/configuring-howto.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,7 @@
<titleabbrev>Configure</titleabbrev>
++++

TIP: To get started quickly, read the <<auditbeat-getting-started>>.

To configure {beatname_uc}, you edit the configuration file. For rpm and deb,
you’ll find the configuration file at +/etc/{beatname_lc}/{beatname_lc}.yml+.
There's also a full example configuration file at
+/etc/{beatname_lc}/{beatname_lc}.reference.yml+ that shows all non-deprecated
options. For mac and win, look in the archive that you extracted.

The {beatname_uc} configuration file uses http://yaml.org/[YAML] for its syntax.
See the {beats-ref}/config-file-format.html[Config File Format] section of the
_Beats Platform Reference_ for more about the structure of the config file.

The following topics describe how to configure {beatname_uc}:
include::{libbeat-dir}/shared/configuring-intro.asciidoc[]

* <<configuration-{beatname_lc}>>
* <<configuration-general-options>>
Expand Down
16 changes: 11 additions & 5 deletions auditbeat/docs/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,10 @@ auditbeat.modules:
- /etc
-------------------------------------

include::{libbeat-dir}/step-test-config.asciidoc[]

include::{libbeat-dir}/step-look-at-config.asciidoc[]

[float]
[[setup-modules]]
[[setup-assets]]
=== Step 4: Set up assets

include::{libbeat-dir}/shared/setup.asciidoc[]
Expand All @@ -98,8 +96,16 @@ include::{libbeat-dir}/shared/setup.asciidoc[]
[id="{beatname_lc}-starting"]
=== Step 5: Start {beatname_uc}

include::{libbeat-dir}/shared/start-beat.asciidoc[]
Before starting {beatname_uc}, modify the user credentials in
+{beatname_lc}.yml+ and specify a user who has restricted privileges,
especially if you're running {beatname_uc} in a production environment.
For more information, see <<privileges-to-publish-events>>.

To start {beatname_uc}, run:

include::{libbeat-dir}/tab-widgets/start-widget.asciidoc[]

{beatname_uc} should begin streaming events to {es}.
If you see a warning about too many open files, you need to increase the
`ulimit`. See the <<ulimit,FAQ>> for more details.

Expand All @@ -115,7 +121,7 @@ To make it easier for you to start auditing the activities of users and
processes on your system, {beatname_uc} comes with preconfigured dashboards and
UIs for visualizing your data.

include::{libbeat-dir}/shared/opendashboards.asciidoc[]
include::{libbeat-dir}/shared/opendashboards.asciidoc[tag=open-dashboards]

Example dashboard:

Expand Down
2 changes: 1 addition & 1 deletion filebeat/docs/configuring-filebeat.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This guide describes how to configure {beatname_uc} manually. When possible,
use <<filebeat-modules-overview,Filebeat modules>> for the fastest getting
started experience.

include::{libbeat-dir}/shared-configuring.asciidoc[]
include::{libbeat-dir}/shared/configuring-intro.asciidoc[]

Here is a sample of the `filebeat` section of the `filebeat.yml` file. Filebeat uses predefined
default values for most configuration options.
Expand Down
14 changes: 1 addition & 13 deletions filebeat/docs/configuring-howto.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,7 @@
<titleabbrev>Configure</titleabbrev>
++++

TIP: To get started quickly, read the <<filebeat-getting-started>>.

To configure {beatname_uc}, you edit the configuration file. For rpm and deb,
you’ll find the configuration file at +/etc/{beatname_lc}/{beatname_lc}.yml+.
There's also a full example configuration file at
+/etc/{beatname_lc}/{beatname_lc}.reference.yml+ that shows all non-deprecated
options. For mac and win, look in the archive that you extracted.

The {beatname_uc} configuration file uses http://yaml.org/[YAML] for its syntax.
See the {beats-ref}/config-file-format.html[Config File Format] section of the
_Beats Platform Reference_ for more about the structure of the config file.

The following topics describe how to configure {beatname_uc}:
include::{libbeat-dir}/shared/configuring-intro.asciidoc[]

* <<configuration-filebeat-options>>
* <<configuration-general-options>>
Expand Down
58 changes: 28 additions & 30 deletions filebeat/docs/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//TODO: Remove release-state definition before merging.

[[filebeat-getting-started]]
== Get started
== Get started with {beatname_uc}

//TODO: We need to add a separate topic that provides a summary of the different
//ways to parse log lines: ingest node, dissect processor, Logstash, etc. That
Expand All @@ -21,6 +21,12 @@ You'll learn how to:
* specify the location of your log files
* parse log data into fields and send it to {es}
* visualize the log data in {kib}
+
[role="screenshot"]
image::./images/kibana-system.png[]

//REVIEWERS: I think that moving up these dashboards makes the value FB adds
//more obvious. Should I do this with all the GS guides?

[float]
=== Before you begin
Expand Down Expand Up @@ -70,10 +76,8 @@ include::{libbeat-dir}/shared/connecting-to-es.asciidoc[]

{beatname_uc} uses modules to collect and parse log data.

. Identify the modules you need to enable.
+
To see the list of available <<filebeat-modules,modules>>,
run:
. Identify the modules you need to enable. To see a list of available
<<filebeat-modules,modules>>, run:
+
--
include::{libbeat-dir}/tab-widgets/list-modules-widget.asciidoc[]
Expand Down Expand Up @@ -108,7 +112,7 @@ default locations, set the `paths` variable. For example:
include::{libbeat-dir}/step-look-at-config.asciidoc[]

[float]
[[setup-modules]]
[[setup-assets]]
=== Step 4: Set up assets

include::{libbeat-dir}/shared/setup.asciidoc[]
Expand All @@ -126,40 +130,34 @@ you need to <<load-ingest-pipelines>>.
[[filebeat-starting]]
=== Step 5: Start {beatname_uc}

include::{libbeat-dir}/shared/start-beat.asciidoc[]
Before starting {beatname_uc}, modify the user credentials in
+{beatname_lc}.yml+ and specify a user who has restricted privileges,
especially if you're running {beatname_uc} in a production environment.
For more information, see <<privileges-to-publish-events>>.

To start {beatname_uc}, run:

include::{libbeat-dir}/tab-widgets/start-widget.asciidoc[]

{beatname_uc} should begin streaming events to {es}.

[float]
[[view-kibana-dashboards]]
=== Step 6: View your data in {kib}

{beatname_uc} comes with preconfigured dashboards and UIs for visualizing log
data.

include::{libbeat-dir}/shared/opendashboards.asciidoc[]

Example dashboard:
include::{libbeat-dir}/shared/opendashboards.asciidoc[tag=open-dashboards-intro]

[role="screenshot"]
image::./images/kibana-system.png[]
include::{libbeat-dir}/shared/opendashboards.asciidoc[tag=open-dashboards]

[float]
=== What's next?

Now that you have log data streaming into {es}, learn how to unify your logs,
metrics, uptime, and application performance data:
include::{libbeat-dir}/shared/obs-apps.asciidoc[tag=obs-intro]

include::{libbeat-dir}/shared/obs-apps.asciidoc[tag=add-metrics]

* Add infrastructure metrics:
{metricbeat-ref}/metricbeat-getting-started.html[Get started with {metricbeat}]
* Add uptime info:
{heartbeat-ref}/heartbeat-getting-started.html[Get Started with {heartbeat}]
* Add application metrics:
{apm-get-started-ref}/index.html[APM overview]
include::{libbeat-dir}/shared/obs-apps.asciidoc[tag=add-uptime]

Then use the Observability apps in {kib} to search across all your data:
include::{libbeat-dir}/shared/obs-apps.asciidoc[tag=add-apm]

** Explore metrics about systems and services across your ecosystem:
{kibana-ref}/xpack-infra[Metrics app]
** Drill down into related log data and tail your logs in real time:
{kibana-ref}/xpack-logs.html[Logs app]
** View related traces and monitor application performance:
{kibana-ref}/xpack-apm.html[APM app]
include::{libbeat-dir}/shared/obs-apps.asciidoc[tag=obs-apps]
18 changes: 1 addition & 17 deletions heartbeat/docs/configuring-howto.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,7 @@
<titleabbrev>Configure</titleabbrev>
++++

Before modifying configuration settings, make sure you've completed the
<<heartbeat-configuration,configuration steps>> in the Getting Started.
This section describes some common use cases for changing configuration options.

To configure Heartbeat, you edit the configuration file. For rpm and deb,
you’ll find the default configuration file at
+/etc/heartbeat/heartbeat.yml+. There's also a full example
configuration file at +/etc/heartbeat/heartbeat.reference.yml+ that shows
all non-deprecated options. For mac and win, look in the archive that you
extracted.

The Heartbeat configuration file uses http://yaml.org/[YAML] for its syntax.
See the
{beats-ref}/config-file-format.html[Config File Format] section of the
_Beats Platform Reference_ for more about the structure of the config file.

The following topics describe how to configure Heartbeat:
include::{libbeat-dir}/shared/configuring-intro.asciidoc[]

* <<configuration-heartbeat-options>>
* <<monitors-scheduler>>
Expand Down
Loading