質問編集履歴
4
tcpdumpの結果を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -82,6 +82,12 @@
|
|
82
82
|
|
83
83
|
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
|
84
84
|
|
85
|
+
0 packets captured
|
86
|
+
|
87
|
+
0 packets received by filter
|
88
|
+
|
89
|
+
0 packets dropped by kernel
|
90
|
+
|
85
91
|
|
86
92
|
|
87
93
|
netstat -an | grep ^tcp | grep :24224 を行っても、何も出力されませんでした。
|
3
td-agentのstatusを追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -88,6 +88,52 @@
|
|
88
88
|
|
89
89
|
|
90
90
|
|
91
|
+
更に追記
|
92
|
+
|
93
|
+
```
|
94
|
+
|
95
|
+
td-agentのstatusです
|
96
|
+
|
97
|
+
systemctl status td-agent.service
|
98
|
+
|
99
|
+
● td-agent.service - td-agent: Fluentd based data collector for Treasure Data
|
100
|
+
|
101
|
+
Loaded: loaded (/lib/systemd/system/td-agent.service; disabled; vendor preset: enabled)
|
102
|
+
|
103
|
+
Active: active (running) since Tue 2020-09-01 03:54:30 UTC; 32min ago
|
104
|
+
|
105
|
+
Docs: https://docs.treasuredata.com/articles/td-agent
|
106
|
+
|
107
|
+
Process: 28138 ExecStop=/bin/kill -TERM ${MAINPID} (code=exited, status=0/SUCCESS)
|
108
|
+
|
109
|
+
Process: 28155 ExecStart=/opt/td-agent/embedded/bin/fluentd --log $TD_AGENT_LOG_FILE --daemon /var/run/td-agent/td-agent.pid $TD_AGENT_OPTIONS (code=exited, status=0/SUCCESS)
|
110
|
+
|
111
|
+
Main PID: 28168 (fluentd)
|
112
|
+
|
113
|
+
Tasks: 6
|
114
|
+
|
115
|
+
Memory: 45.8M
|
116
|
+
|
117
|
+
CPU: 21min 59.236s
|
118
|
+
|
119
|
+
CGroup: /system.slice/td-agent.service
|
120
|
+
|
121
|
+
tq10427 /opt/td-agent/embedded/bin/ruby -Eascii-8bit:ascii-8bit /opt/td-agent/embedded/bin/fluentd --log /var/log/td-agent/td-agent.log --daemon /var/run/td-agent/td-agent.pid --under-supervisor
|
122
|
+
|
123
|
+
mq28168 /opt/td-agent/embedded/bin/ruby /opt/td-agent/embedded/bin/fluentd --log /var/log/td-agent/td-agent.log --daemon /var/run/td-agent/td-agent.pid
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
Sep 01 03:54:29 ubuntu16-td-agent systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
128
|
+
|
129
|
+
Sep 01 03:54:29 ubuntu16-td-agent systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
130
|
+
|
131
|
+
Sep 01 03:54:30 ubuntu16-td-agent systemd[1]: Started td-agent: Fluentd based data collector for Treasure Data.
|
132
|
+
|
133
|
+
```
|
134
|
+
|
135
|
+
|
136
|
+
|
91
137
|
### 補足情報(FW/ツールのバージョンなど)
|
92
138
|
|
93
139
|
|
2
コマンドの結果を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -74,6 +74,20 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
+
追記
|
78
|
+
|
79
|
+
tcpdump port 24224 を行っても、パケットが記録されませんでした。
|
80
|
+
|
81
|
+
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
|
82
|
+
|
83
|
+
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
netstat -an | grep ^tcp | grep :24224 を行っても、何も出力されませんでした。
|
88
|
+
|
89
|
+
|
90
|
+
|
77
91
|
### 補足情報(FW/ツールのバージョンなど)
|
78
92
|
|
79
93
|
|
1
見やすく修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
その後、td-agentをrestartと、ufw allow 24224/tcpの設定をし、念の為sudo ufw default ALLOWをしてから
|
8
8
|
|
9
|
-
echo '{"user":"1","message":"test"}' | /opt/td-agent/embedded/bin/fluent-cat debug.test が失敗
|
9
|
+
echo '{"user":"1","message":"test"}' | /opt/td-agent/embedded/bin/fluent-cat debug.test が失敗するので
|
10
10
|
|
11
11
|
curl 127.0.0.1:24224を実行したのですが、
|
12
12
|
|