Skip to content

Commit 2e4394c

Browse files
Watson1978claude
andauthored
Use fluent-package commands and paths in language binding guides (#709)
The seven language binding guides still told readers to restart td-agent with init.d or systemd and to check /var/log/td-agent/td-agent.log. td-agent has reached EOL, and fluent-package only ships a systemd unit named fluentd and logs to /var/log/fluent/fluentd.log. Also say Fluentd instead of td-agent or agent in the surrounding text. Signed-off-by: Shizuo Fujita <fujita@clear-code.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 24ba6bc commit 2e4394c

7 files changed

Lines changed: 42 additions & 63 deletions

File tree

‎language-bindings/java.md‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ Configure Fluentd to use the [`forward`](../input/forward.md) input plugin as it
3030
</match>
3131
```
3232

33-
Restart agent after configuring.
33+
Restart Fluentd after configuring.
3434

3535
```text
36-
# for rpm/deb only
37-
$ sudo /etc/init.d/td-agent restart
38-
39-
# or systemd
40-
$ sudo systemctl restart td-agent.service
36+
# for fluent-package (rpm/deb)
37+
$ sudo systemctl restart fluentd
4138
```
4239

4340
## Using `fluent-logger-java`
@@ -85,7 +82,7 @@ Executing the above program will send the logs to Fluentd:
8582
$ java -jar test.jar
8683
```
8784

88-
The logs should be output to `/var/log/td-agent/td-agent.log` or the standard output of the Fluentd process via [`stdout`](../output/stdout.md) output plugin.
85+
The logs should be output to `/var/log/fluent/fluentd.log` or the standard output of the Fluentd process via [`stdout`](../output/stdout.md) output plugin.
8986

9087
## Production Deployments
9188

@@ -106,12 +103,12 @@ Various [output plugins](../output/) are available for writing records to other
106103

107104
### High-Availability Configurations of Fluentd
108105

109-
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for `td-agent`. This will improve the reliability of data transfer and query performance.
106+
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for Fluentd. This will improve the reliability of data transfer and query performance.
110107

111108
* [High-Availability Configurations of Fluentd](../deployment/high-availability.md)
112109

113110
### Monitoring
114111

115-
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for `td-agent`:
112+
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for Fluentd:
116113

117114
* [Monitoring Fluentd](../monitoring-fluentd/overview.md)

‎language-bindings/nodejs.md‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,11 @@ Configure Fluentd to use the [`forward`](../input/forward.md) input plugin as it
3232
</match>
3333
```
3434

35-
Restart agent after configuring.
35+
Restart Fluentd after configuring.
3636

3737
```text
38-
# for rpm/deb only
39-
$ sudo /etc/init.d/td-agent restart
40-
41-
# or systemd
42-
$ sudo systemctl restart td-agent.service
38+
# for fluent-package (rpm/deb)
39+
$ sudo systemctl restart fluentd
4340
```
4441

4542
## Using `@fluent-org/logger`
@@ -105,7 +102,7 @@ Run the app and go to `http://localhost:3000/` in your browser to send the logs
105102
$ node index.js
106103
```
107104

108-
The logs should be output to `/var/log/td-agent/td-agent.log` or the standard output of the Fluentd process via [`stdout`](../output/stdout.md) output plugin.
105+
The logs should be output to `/var/log/fluent/fluentd.log` or the standard output of the Fluentd process via [`stdout`](../output/stdout.md) output plugin.
109106

110107
## Production Deployments
111108

@@ -126,12 +123,12 @@ Various [output plugins](../output/) are available for writing records to other
126123

127124
### High-Availability Configurations of Fluentd
128125

129-
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for `td-agent`. This will improve the reliability of data transfer and query performance.
126+
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for Fluentd. This will improve the reliability of data transfer and query performance.
130127

131128
* [High-Availability Configurations of Fluentd](../deployment/high-availability.md)
132129

133130
### Monitoring
134131

135-
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for `td-agent`.
132+
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for Fluentd.
136133

137134
* [Monitoring Fluentd](../monitoring-fluentd/overview.md)

‎language-bindings/perl.md‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ Configure Fluentd to use the [`forward`](../input/forward.md) input plugin as it
3030
</match>
3131
```
3232

33-
Restart agent after configuring.
33+
Restart Fluentd after configuring.
3434

3535
```text
36-
# for rpm/deb only
37-
$ sudo /etc/init.d/td-agent restart
38-
39-
# or systemd
40-
$ sudo systemctl restart td-agent.service
36+
# for fluent-package (rpm/deb)
37+
$ sudo systemctl restart fluentd
4138
```
4239

4340
## Using `Fluent::Logger`
@@ -68,7 +65,7 @@ Executing the script will send the logs to Fluentd:
6865
$ perl test.pl
6966
```
7067

71-
The logs should be output to `/var/log/td-agent/td-agent.log` or the standard output of the Fluentd process via [`stdout`](../output/stdout.md) output plugin.
68+
The logs should be output to `/var/log/fluent/fluentd.log` or the standard output of the Fluentd process via [`stdout`](../output/stdout.md) output plugin.
7269

7370
## Production Deployments
7471

@@ -89,12 +86,12 @@ Various [output plugins](../output/) are available for writing records to other
8986

9087
### High-Availability Configurations of Fluentd
9188

92-
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for `td-agent`. This will improve the reliability of data transfer and query performance.
89+
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for Fluentd. This will improve the reliability of data transfer and query performance.
9390

9491
* [High-Availability Configurations of Fluentd](../deployment/high-availability.md)
9592

9693
### Monitoring
9794

98-
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for `td-agent`.
95+
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for Fluentd.
9996

10097
* [Monitoring Fluentd](../monitoring-fluentd/overview.md)

‎language-bindings/php.md‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ Configure Fluentd to use the [`forward`](../input/forward.md) input plugin as it
3030
</match>
3131
```
3232

33-
Restart agent after configuring.
33+
Restart Fluentd after configuring.
3434

3535
```text
36-
# for rpm/deb only
37-
$ sudo /etc/init.d/td-agent restart
38-
39-
# or systemd
40-
$ sudo systemctl restart td-agent.service
36+
# for fluent-package (rpm/deb)
37+
$ sudo systemctl restart fluentd
4138
```
4239

4340
## Using `fluent-logger-php`
@@ -68,7 +65,7 @@ Executing the script will send the logs to Fluentd:
6865
$ php test.php
6966
```
7067

71-
The logs should be output to `/var/log/td-agent/td-agent.log` or the standard output of the Fluentd process via the [`stdout`](../output/stdout.md) output plugin.
68+
The logs should be output to `/var/log/fluent/fluentd.log` or the standard output of the Fluentd process via the [`stdout`](../output/stdout.md) output plugin.
7269

7370
## Production Deployments
7471

@@ -89,12 +86,12 @@ Various [output plugins](../output/) are available for writing records to other
8986

9087
### High-Availability Configurations of Fluentd
9188

92-
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for `td-agent`. This will improve the reliability of data transfer and query performance.
89+
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for Fluentd. This will improve the reliability of data transfer and query performance.
9390

9491
* [High-Availability Configurations of Fluentd](../deployment/high-availability.md)
9592

9693
### Monitoring
9794

98-
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for `td-agent`.
95+
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for Fluentd.
9996

10097
* [Monitoring Fluentd](../monitoring-fluentd/overview.md)

‎language-bindings/python.md‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ Configure Fluentd to use the [`forward`](../input/forward.md) input plugin as it
3030
</match>
3131
```
3232

33-
Restart agent after configuring.
33+
Restart Fluentd after configuring.
3434

3535
```text
36-
# for rpm/deb only
37-
$ sudo /etc/init.d/td-agent restart
38-
39-
# or systemd
40-
$ sudo systemctl restart td-agent.service
36+
# for fluent-package (rpm/deb)
37+
$ sudo systemctl restart fluentd
4138
```
4239

4340
## Using `fluent-logger-python`
@@ -67,7 +64,7 @@ Executing the script will send the logs to Fluentd:
6764
$ python test.py
6865
```
6966

70-
The logs should be output to `/var/log/td-agent/td-agent.log` or the standard output of the Fluentd process via the [`stdout`](../output/stdout.md) output plugin.
67+
The logs should be output to `/var/log/fluent/fluentd.log` or the standard output of the Fluentd process via the [`stdout`](../output/stdout.md) output plugin.
7168

7269
## Production Deployments
7370

@@ -88,12 +85,12 @@ Various [output plugins](../output/) are available for writing records to other
8885

8986
### High-Availability Configurations of Fluentd
9087

91-
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for `td-agent`. This will improve the reliability of data transfer and query performance.
88+
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for Fluentd. This will improve the reliability of data transfer and query performance.
9289

9390
* [High-Availability Configurations of Fluentd](../deployment/high-availability.md)
9491

9592
### Monitoring
9693

97-
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for `td-agent`.
94+
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for Fluentd.
9895

9996
* [Monitoring Fluentd](../monitoring-fluentd/overview.md)

‎language-bindings/ruby.md‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ Configure Fluentd to use the [`forward`](../input/forward.md) input plugin as it
3030
</match>
3131
```
3232

33-
Restart agent after configuring.
33+
Restart Fluentd after configuring.
3434

3535
```text
36-
# for rpm/deb only
37-
$ sudo /etc/init.d/td-agent restart
38-
39-
# or systemd
40-
$ sudo systemctl restart td-agent.service
36+
# for fluent-package (rpm/deb)
37+
$ sudo systemctl restart fluentd
4138
```
4239

4340
## Using `fluent-logger-ruby`
@@ -62,7 +59,7 @@ Executing the script will send the logs to Fluentd:
6259
$ ruby test.rb
6360
```
6461

65-
The logs should be output to `/var/log/td-agent/td-agent.log` or the standard output of the Fluentd process via the [`stdout`](../output/stdout.md) output plugin.
62+
The logs should be output to `/var/log/fluent/fluentd.log` or the standard output of the Fluentd process via the [`stdout`](../output/stdout.md) output plugin.
6663

6764
## Production Deployments
6865

@@ -83,12 +80,12 @@ Various [output plugins](../output/) are available for writing records to other
8380

8481
### High-Availability Configurations of Fluentd
8582

86-
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for `td-agent`. This will improve the reliability of data transfer and query performance.
83+
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for Fluentd. This will improve the reliability of data transfer and query performance.
8784

8885
* [High-Availability Configurations of Fluentd](../deployment/high-availability.md)
8986

9087
### Monitoring
9188

92-
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for `td-agent`.
89+
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for Fluentd.
9390

9491
* [Monitoring Fluentd](../monitoring-fluentd/overview.md)

‎language-bindings/scala.md‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,11 @@ Configure Fluentd to use the [`forward`](../input/forward.md) input plugin as it
3131
</match>
3232
```
3333

34-
Restart agent after configuring.
34+
Restart Fluentd after configuring.
3535

3636
```text
37-
# for rpm/deb only
38-
$ sudo /etc/init.d/td-agent restart
39-
40-
# or systemd
41-
$ sudo systemctl restart td-agent.service
37+
# for fluent-package (rpm/deb)
38+
$ sudo systemctl restart fluentd
4239
```
4340

4441
## Using `fluent-logger-scala`
@@ -91,7 +88,7 @@ $ sbt
9188
> run
9289
```
9390

94-
The logs should be output to `/var/log/td-agent/td-agent.log` or the standard output of the Fluentd process via the [`stdout`](../output/stdout.md) output plugin.
91+
The logs should be output to `/var/log/fluent/fluentd.log` or the standard output of the Fluentd process via the [`stdout`](../output/stdout.md) output plugin.
9592

9693
## Production Deployments
9794

@@ -112,12 +109,12 @@ Various [output plugins](../output/) are available for writing records to other
112109

113110
### High-Availability Configurations of Fluentd
114111

115-
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for `td-agent`. This will improve the reliability of data transfer and query performance.
112+
For high-traffic websites \(more than 5 application nodes\), we recommend using the high-availability configuration for Fluentd. This will improve the reliability of data transfer and query performance.
116113

117114
* [High-Availability Configurations of Fluentd](../deployment/high-availability.md)
118115

119116
### Monitoring
120117

121-
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for `td-agent`.
118+
Monitoring Fluentd itself is also important. The article below describes the general monitoring methods for Fluentd.
122119

123120
* [Monitoring Fluentd](../monitoring-fluentd/overview.md)

0 commit comments

Comments
 (0)