logstash on fedora 26

$wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.3.rpm
--2018-03-29 17:50:05--  https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.3.rpm
Resolving artifacts.elastic.co (artifacts.elastic.co)... 184.73.245.233, 23.21.67.46, 184.73.156.41, ...
Connecting to artifacts.elastic.co (artifacts.elastic.co)|184.73.245.233|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28987839 (28M) [application/octet-stream]
Saving to: ‘elasticsearch-6.2.3.rpm’

elasticsearch-6.2.3.rpm                                100%[============================================================================================================================>]  27.64M   421KB/s    in 32s     

2018-03-29 17:50:38 (883 KB/s) - ‘elasticsearch-6.2.3.rpm’ saved [28987839/28987839]


$sudo rpm -ivh elasticsearch-6.2.3.rpm
warning: elasticsearch-6.2.3.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
Preparing...                          ################################# [100%]
Creating elasticsearch group... OK
Creating elasticsearch user... OK
Updating / installing...
   1:elasticsearch-0:6.2.3-1          ################################# [100%]
### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable elasticsearch.service
### You can start elasticsearch service by executing
 sudo systemctl start elasticsearch.service
$sudo systemctl enable elasticsearch
Synchronizing state of elasticsearch.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable elasticsearch
Created symlink /etc/systemd/system/multi-user.target.wants/elasticsearch.service → /usr/lib/systemd/system/elasticsearch.service.

$sudo systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-03-29 17:52:13 IST; 2s ago
     Docs: https://www.elastic.co
 Main PID: 15966 (java)
    Tasks: 7 (limit: 4915)
   Memory: 1.0G
      CPU: 1.814s
   CGroup: /system.slice/elasticsearch.service
           └─15966 /bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.

Mar 29 17:52:13 server.sand.box systemd[1]: Started Elasticsearch.
$sudo firewall-cmd --add-port=9200/tcp
success

$sudo firewall-cmd --add-port=9200/tcp --permanent
success

$curl -X GET https://localhost:9200
{
  "name" : "90JCb8K",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "edIc7lSWR_Okd1JjZS4RFQ",
  "version" : {
    "number" : "6.2.3",
    "build_hash" : "c59ff00",
    "build_date" : "2018-03-13T10:06:29.741383Z",
    "build_snapshot" : false,
    "lucene_version" : "7.2.1",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

Installing logstash

$wget https://artifacts.elastic.co/downloads/logstash/logstash-6.2.3.rpm
--2018-03-29 17:57:37--  https://artifacts.elastic.co/downloads/logstash/logstash-6.2.3.rpm
Resolving artifacts.elastic.co (artifacts.elastic.co)... 23.21.67.46, 184.73.245.233, 23.23.109.100, ...
Connecting to artifacts.elastic.co (artifacts.elastic.co)|23.21.67.46|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139187704 (133M) [application/octet-stream]
Saving to: ‘logstash-6.2.3.rpm’

logstash-6.2.3.rpm                                     100%[============================================================================================================================>] 132.74M  1.20MB/s    in 84s     

2018-03-29 17:59:03 (1.59 MB/s) - ‘logstash-6.2.3.rpm’ saved [139187704/139187704]

$sudo rpm -ivh logstash-6.2.3.rpm
warning: logstash-6.2.3.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:logstash-1:6.2.3-1               ################################# [100%]
Using provided startup.options file: /etc/logstash/startup.options
Successfully created system startup script for Logstash
$sudo systemctl enable   logstash 
Created symlink /etc/systemd/system/multi-user.target.wants/logstash.service → /etc/systemd/system/logstash.service.

$ sudo systemctl status logstash 
● logstash.service - logstash
   Loaded: loaded (/etc/systemd/system/logstash.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-03-29 18:01:02 IST; 23s ago
 Main PID: 18089 (java)
      CPU: 3.734s
   CGroup: /system.slice/logstash.service
           └─18089 /bin/java -Xms256m -Xmx1g -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -Djava.awt.headless=true -Dfile.encodi

Mar 29 18:01:02 server.sand.box systemd[1]: Started logstash.
$ wget https://artifacts.elastic.co/downloads/kibana/kibana-6.2.3-x86_64.rpm
--2018-03-29 18:03:26--  https://artifacts.elastic.co/downloads/kibana/kibana-6.2.3-x86_64.rpm
Resolving artifacts.elastic.co (artifacts.elastic.co)... 184.73.156.41, 184.73.245.233, 184.72.242.47, ...
Connecting to artifacts.elastic.co (artifacts.elastic.co)|184.73.156.41|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 85347950 (81M) [application/octet-stream]
Saving to: ‘kibana-6.2.3-x86_64.rpm’

kibana-6.2.3-x86_64.rpm                                100%[============================================================================================================================>]  81.39M  1.20MB/s    in 68s     

2018-03-29 18:04:37 (1.20 MB/s) - ‘kibana-6.2.3-x86_64.rpm’ saved [85347950/85347950]

$sudo rpm -ivh kibana-6.2.3-x86_64.rpm
warning: kibana-6.2.3-x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:kibana-6.2.3-1                   ################################# [100%]

$ sudo systemctl start kibana

$ sudo systemctl enable kibana
Synchronizing state of kibana.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable kibana
Created symlink /etc/systemd/system/multi-user.target.wants/kibana.service → /etc/systemd/system/kibana.service.

$sudo systemctl status kibana
● kibana.service - Kibana
   Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-03-29 18:08:07 IST; 48s ago
 Main PID: 20040 (node)
   CGroup: /system.slice/kibana.service
           └─20040 /usr/share/kibana/bin/../node/bin/node --no-warnings /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml

Mar 29 18:08:07 server.sand.box systemd[1]: Started Kibana.
Mar 29 18:08:46 server.sand.box kibana[20040]: {"type":"log","@timestamp":"2018-03-29T12:38:46Z","tags":["status","plugin:kibana@6.2.3","info"],"pid":20040,"state":"green","message":"Status changed from uninitialized to 
Mar 29 18:08:46 server.sand.box kibana[20040]: {"type":"log","@timestamp":"2018-03-29T12:38:46Z","tags":["status","plugin:elasticsearch@6.2.3","info"],"pid":20040,"state":"yellow","message":"Status changed from uninitial
Mar 29 18:08:49 server.sand.box kibana[20040]: {"type":"log","@timestamp":"2018-03-29T12:38:49Z","tags":["status","plugin:timelion@6.2.3","info"],"pid":20040,"state":"green","message":"Status changed from uninitialized t
Mar 29 18:08:49 server.sand.box kibana[20040]: {"type":"log","@timestamp":"2018-03-29T12:38:49Z","tags":["status","plugin:console@6.2.3","info"],"pid":20040,"state":"green","message":"Status changed from uninitialized to
Mar 29 18:08:49 server.sand.box kibana[20040]: {"type":"log","@timestamp":"2018-03-29T12:38:49Z","tags":["status","plugin:metrics@6.2.3","info"],"pid":20040,"state":"green","message":"Status changed from uninitialized to
Mar 29 18:08:49 server.sand.box kibana[20040]: {"type":"log","@timestamp":"2018-03-29T12:38:49Z","tags":["listening","info"],"pid":20040,"message":"Server running at https://localhost:5601"}
Mar 29 18:08:51 server.sand.box kibana[20040]: {"type":"log","@timestamp":"2018-03-29T12:38:51Z","tags":["status","plugin:elasticsearch@6.2.3","info"],"pid":20040,"state":"green","message":"Status changed from yellow to