Logstash cheat sheet: Difference between revisions

Line 450: Line 450:
[https://www.elastic.co/guide/en/beats/libbeat/5.0/upgrading-1-to-5.html Upgrading from 1.x to 5.x]
[https://www.elastic.co/guide/en/beats/libbeat/5.0/upgrading-1-to-5.html Upgrading from 1.x to 5.x]


<syntaxhighlight> lang="bash" enclose="div">
<syntaxhighlight lang="bash" enclose="div">
cd etc/logstash
cd etc/logstash
/usr/share/filebeat/scripts/migrate_beat_config_1_x_to_5_0.py filebeat.yml
/usr/share/filebeat/scripts/migrate_beat_config_1_x_to_5_0.py filebeat.yml