Newbie here so bash lightly
I have a host server with ELK installed and able to view filebeat data sent from a client server to logstash on the host.
I want to also view topbeat data from that same client in kibana on the host and am not able to.
From the client I enter this:
# curl -XPUT 'http://10.24.7.157:9200/_template/topbeat' -d@/etc/topbeat/topbeat.template.json
And get the response of:
{"acknowledged":true}
10.24.7.157 is the ELK host
My /etc/topbeat/topbeat.yml file has:
output:
#elasticsearch:
#hosts: ["localhost:9200"]
logstash:
hosts: ["10.24.7.157:5044"]
curl -XGET 'http://10.24.7.157:9200/topbeat-*/_search?pretty'
{
"took" : 1,
"timed_out" : false,
"_shards" : {
"total" : 0,
"successful" : 0,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : 0.0,
"hits" : [ ]
}
}
On the client I started topbeat and confirmed it's running:
# service topbeat status
* topbeat is running
I then test to see if there is topbeat data in elasticsearch on the host and nothing:
# curl -XGET 'http://10.24.7.157:9200/topbeat-*/_search?pretty'
{
"took" : 1,
"timed_out" : false,
"_shards" : {
"total" : 0,
"successful" : 0,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : 0.0,
"hits" : [ ]
}
}
Both host and client are Ubuntu 14.04
Host:
elasticsearch 1.7.5
logstash 1:1.5.6-1
Kibana 4.1.1
Client:
topbeat 1.1.2