I'm very new to the forums of Elastic. I have gone through these tools and few videos some hours ago and setup Kibana, Logstash and Elasticsearch on my local windows machine (on a private network).
I managed to parse the lines from command line.
Setup used was ==> logstash --> elastic search --> Kibana.
I need some help to Parse the logs with FileBeat and elastic search then display on Kibana with different filters and statistics. Currently, I don't want to parse using logstash. Simply, want to display the log file in Kibana after processing through FIleBeats --> ElasticSearch --> Kibana.
Can you please help me with config files for the same?
paths:
- C:\Users\gadeshr\elastic\logs\*.log
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
Running filebeat on windows as --> filebeat -e -c filebeat.yml -d "publish"
Elastic search is running on the default port 9200.
I can't see the files being processed and displayed in Kibana.
The path C:\Users\gadeshr\elastic\logs\*.log contains log files with extension .log
2017/11/16 08:07:29.812643 spooler.go:63: INFO Starting spooler: spool_size: 2048; idle_timeout: 5s
2017/11/16 08:07:29.840643 log.go:91: INFO Harvester started for file: C:\Users\gadeshr\elastic\logs\Sample.log
2017/11/16 08:07:29.812643 sync.go:41: INFO Start sending events to output
2017/11/16 08:07:34.905643 client.go:667: INFO Connected to Elasticsearch version 5.6.4
2017/11/16 08:07:34.906643 output.go:317: INFO Trying to load template for client: http://localhost:9200
2017/11/16 08:07:34.918643 output.go:341: INFO Template already exists and will not be overwritten.
2017/11/16 08:07:59.746643 metrics.go:39: INFO Non-zero metrics in the last 30s: filebeat.harvester.open_files=2 filebeat.harvester.running=2 filebeat.harvester.started=2 libbeat.es.call_count.PublishEvents=1 libbeat.es.publish.read_byte
nd_acked_events=1 libbeat.publisher.published_events=1 publish.events=5 registrar.states.current=3 registrar.states.update=5 registrar.writes=1
2017/11/16 08:08:29.746643 metrics.go:34: INFO No non-zero metrics in the last 30s
Elastic Search Logs:
[2017-11-16T13:33:11,524][INFO ][o.e.n.Node ] [0oD1ygx] starting ...
[2017-11-16T13:33:12,528][INFO ][o.e.t.TransportService ] [0oD1ygx] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300}
[2017-11-16T13:33:16,058][INFO ][o.e.c.s.ClusterService ] [0oD1ygx] new_master {0oD1ygx}{0oD1ygxfRS-n_6IuXYbPZg}{EyGm7v2ARlKrr1KiTUhgZg}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
[2017-11-16T13:33:16,492][INFO ][o.e.g.GatewayService ] [0oD1ygx] recovered [4] indices into cluster_state
[2017-11-16T13:33:17,444][INFO ][o.e.h.n.Netty4HttpServerTransport] [0oD1ygx] publish_address {127.0.0.1:9200}, bound_addresses {127.0.0.1:9200}, {[::1]:9200}
[2017-11-16T13:33:17,444][INFO ][o.e.n.Node ] [0oD1ygx] started
[2017-11-16T13:33:17,500][INFO ][o.e.c.r.a.AllocationService] [0oD1ygx] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).
[2017-11-16T13:37:34,944][INFO ][o.e.c.m.MetaDataCreateIndexService] [0oD1ygx] [filebeat-2017.11.16] creating index, cause [auto(bulk api)], templates [filebeat], shards [5]/[1], mappings [default]
[2017-11-16T13:37:35,295][INFO ][o.e.c.m.MetaDataMappingService] [0oD1ygx] [filebeat-2017.11.16/lDi2N3LNQESM5Wk9AshzeQ] create_mapping [doc]
How can I check the content in Kibana?
I cannot see any log content displayed in Kibana.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.