Skip to content

Commit

Permalink
Small fixes (#2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
monicasarbu authored and andrewkroh committed Jul 14, 2016
1 parent f45c188 commit c54b7c4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libbeat/docs/newbeat.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,9 @@ Inside the loop, the Beat sleeps for a configurable period of time and then
captures the required data and sends it to the publisher. The publisher client is available as part of the Beat object
through the `client` variable.

The event := common.MapStr{} stores the event in a json format, and bt.client.PublishEvent(event) ispublishing data to Elasticsearch.
In the generated Beat, there are three fields in the event, which is @timestamp, type and counter.
The `event := common.MapStr{}` stores the event in a json format, and `bt.client.PublishEvent(event)` is publishing data to Elasticsearch.
In the generated Beat, there are three fields in the event, which is
@timestamp, type, and counter.

For more details about how the fields should be named, please check
<<event-conventions, Event conventions>>.
Expand Down Expand Up @@ -394,9 +395,9 @@ func main() {
[[ls-beat]]
=== How to build Lsbeat from scratch

Lsbeat is similar to the `ls` command line tool, but instead of printing the files and subdirectories to the screen,
github.com/kimjmin/lsbeat[Lsbeat] is similar to the `ls` command line tool, but instead of printing the files and subdirectories to the screen,
Lsbeat periodically ships them to Elasticsearch for storage.
The http://elastic.co//blog/build-your-own-beat[blogpost] describes how to build from scratch `Lsbeat`.
The http://elastic.co//blog/build-your-own-beat[blog post] describes how to build from scratch `Lsbeat`.


=== Sharing Your Beat with the Community
Expand Down

0 comments on commit c54b7c4

Please sign in to comment.