Logstash cheat sheet: Difference between revisions

sudo /usr/share/filebeat/scripts/migrate_beat_config_1_x_to_5_0.py filebeat.yml
</syntaxhighlight>
:設定ファイルを更新スクリプトを起動する。
 
私は filebeat.yml を /etc/logstash に置いているので、/etc/default/filebeat を変更する。
</syntaxhighlight>
 
<syntaxhighlight lang="text" enclose="div">
ERR State for /var/log/hoge.log should have been dropped, but couldn't as state is not finished.
</syntaxhighlight>
:更新後 filebeat を起動するが、なぜかエラーになる。一旦停止し、再起動すると正常に稼動する。おそらく registry file の変更処理が問題。