APM is not showing anything in Kibana


(TheRebel) #1

I have two nodes installed with elastic 6.5.4 and kibana 6.5.4 on one node. I have made a cluster and it is working fine. I have installed APM 6.5.4 to check alerting in Kibana but whenever I click on APM it shows that APM is not installed although I have installed APM and it is running fine. In Dev Tools I am not able to get anything. Please see the output below:-
{
"took" : 0,
"timed_out" : false,
"_shards" : {
"total" : 0,
"successful" : 0,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : 0.0,
"hits" :
}
}

Please suggest what I am missing here.


(Silvia Mitter) #2

Which APM agent and which version are you using? Have you checked APM Server logs to see if some issues are logged?


(TheRebel) #3

Hi @simitt
Thanks for quick reply. Actually I am new to APM and did whatever was mentioned on the elastic site to use APM. So I changed the config as per the site. I don't have the logs directory itself. Please see below

total 36148
-rw-r--r-- 1 smtrs switrs 13675 Dec 18 01:43 LICENSE.txt
drwxr-xr-x 3 smtrs switrs 4096 Dec 18 01:44 ingest
-rw-r--r-- 1 smtrs switrs 25842 Dec 18 01:44 fields.yml
-rw-r--r-- 1 smtrs switrs 122783 Dec 18 01:44 NOTICE.txt
drwxr-xr-x 4 smtrs switrs 4096 Dec 18 01:44 kibana
-rwxr-xr-x 1 smtrs switrs 36717458 Dec 18 01:45 apm-server
-rw-r--r-- 1 smtrs switrs 648 Dec 18 01:46 README.md
-rw------- 1 smtrs switrs 33506 Jan 4 10:38 orig_apm-server.yml
drwxr-x--- 2 smtrs switrs 4096 Jan 4 10:38 data
-rw-r--r-- 1 smtrs switrs 33504 Jan 4 10:46 1
-rw------- 1 smtrs switrs 33530 Jan 4 11:14 apm-server.yml

APM version is apm-server-6.5.4-linux-x86_64

I have extracted APM and changed the port host: "0.0.0.0:8200" and hosts: ["10.182.197.132:9200","10.182.197.160:9200"]. Apart from these there is no change. Please let me know if I have to configure anything else.


(Silvia Mitter) #4

Could it be you haven't configured an APM agent yet? You can find an overview about all involved components for APM, also describing how to set up an Elastic APM agent. Without an agent, no data are captured.

If you have installed the APM Server with apt or yum the default location for logs is /var/log/apm-server. You can find more information about default paths.


(TheRebel) #5

Hi Simitt,

I have downloaded the Linux package and installed it. I haven't installed any agent till now, so will install the agent and let you know.