You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: how-to-guides/apache-to-mongodb.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,21 +30,28 @@ Fluentd does these three \(3\) things:
30
30
For simplicity, this article will describe how to set up a one-node configuration. Please install the following software on the same node:
31
31
32
32
*[Fluentd](http://fluentd.org/)
33
-
*[MongoDB Output Plugin](../output/mongo.md)
34
33
*[MongoDB](http://www.mongodb.org/)
35
34
* Apache \(with the Combined Log Format\)
36
35
37
-
The MongoDB Output plugin is included in the latest version of Fluentd's deb/rpm package. If you want to use RubyGems to install the plugin, please use `gem install fluent-plugin-mongo`.
36
+
You can install Fluentd via major packaging systems.
38
37
39
38
*[Installation](../installation/)
40
39
41
40
For MongoDB, please refer to the following downloads page:
Since MongoDB plugin is not bundled with `fluent-package`, please install it manually:
47
+
48
+
```text
49
+
$ sudo fluent-gem install fluent-plugin-mongo
50
+
```
51
+
45
52
## Configuration
46
53
47
-
Let's start configuring Fluentd. If you used the deb/rpm package, Fluentd's config file is located at `/etc/td-agent/td-agent.conf`. Otherwise, it is located at `/etc/fluentd/fluentd.conf`.
54
+
Let's start configuring Fluentd. If you used the deb/rpm package, Fluentd's config file is located at `/etc/fluent/fluentd.conf`.
48
55
49
56
### Tail Input
50
57
@@ -54,7 +61,7 @@ For the input source, we will set up Fluentd to track the recent Apache logs \(t
Copy file name to clipboardExpand all lines: output/mongo.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,10 @@ Fluentd enables your apps to insert records to MongoDB asynchronously with batch
17
17
18
18
## Install
19
19
20
-
`out_mongo` is not included in `td-agent`, by default. Fluentd gem users will need to install the `fluent-plugin-mongo` gem using the following command:
20
+
`out_mongo` is not included in `fluent-package`, by default. Fluentd gem users will need to install the `fluent-plugin-mongo` gem using the following command:
21
21
22
22
```text
23
-
$ fluent-gem install fluent-plugin-mongo
23
+
$ sudo fluent-gem install fluent-plugin-mongo
24
24
```
25
25
26
26
For more details, see [Plugin Management](../deployment/plugin-management.md).
Copy file name to clipboardExpand all lines: output/mongo_replset.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,10 @@ Fluentd enables your apps to insert records to MongoDB asynchronously with batch
17
17
18
18
## Install
19
19
20
-
`out_mongo_replset` is not included in `td-agent`, by default. Fluentd gem users will need to install the `fluent-plugin-mongo` gem using the following command:
20
+
`out_mongo_replset` is not included in `fluent-package`, by default. Fluentd gem users will need to install the `fluent-plugin-mongo` gem using the following command:
0 commit comments