Hi @simitt
Thanks for the quick response.
I ran the command apm-server setup -e
and received the response -
2020-08-06T20:48:56.154+0530 INFO instance/beat.go:544 Home path: [/usr/share/apm-server] Config path: [/etc/apm-server] Data path: [/var/lib/apm-server] Logs path: [/var/log/apm-server]
2020-08-06T20:48:56.154+0530 INFO instance/beat.go:551 Beat UUID: fc571408-c753-4e67-82d5-151ef0f19d7f
2020-08-06T20:48:56.154+0530 INFO [beat] instance/beat.go:768 Beat info {"system_info": {"beat": {"path": {"config": "/etc/apm-server", "data": "/var/lib/apm-server", "home": "/usr/share/apm-server", "logs": "/var/log/apm-server"}, "type": "apm-server", "uuid": "fc571408-c753-4e67-82d5-151ef0f19d7f"}}}
2020-08-06T20:48:56.154+0530 INFO [beat] instance/beat.go:777 Build info {"system_info": {"build": {"commit": "59fbf0b6146ca5c50a94d1c435d0cf704e5b2a3f", "libbeat": "6.4.0", "time": "2018-08-17T22:13:22.000Z", "version": "6.4.0"}}}
2020-08-06T20:48:56.154+0530 INFO [beat] instance/beat.go:780 Go runtime info {"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":6,"version":"go1.10.3"}}}
2020-08-06T20:48:56.157+0530 INFO [beat] instance/beat.go:813 Process info {"system_info": {"process": {"capabilities": {"inheritable":null,"permitted":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read"],"effective":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read"],"bounding":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read"],"ambient":null}, "cwd": "/home/nikesh.manjunath", "exe": "/usr/share/apm-server/bin/apm-server", "name": "apm-server", "pid": 19734, "ppid": 19732, "seccomp": {"mode":"disabled","no_new_privs":false}, "start_time": "2020-08-06T20:48:55.130+0530"}}}
2020-08-06T20:48:56.157+0530 INFO instance/beat.go:273 Setup Beat: apm-server; Version: 6.4.0
2020-08-06T20:48:56.157+0530 INFO elasticsearch/client.go:163 Elasticsearch url: http://172.31.0.173:9200
2020-08-06T20:48:56.158+0530 INFO pipeline/module.go:98 Beat name: localhost.localdomain
2020-08-06T20:48:56.158+0530 INFO elasticsearch/client.go:163 Elasticsearch url: http://172.31.0.173:9200
2020-08-06T20:48:56.161+0530 INFO elasticsearch/client.go:708 Connected to Elasticsearch version 6.4.0
2020-08-06T20:48:56.169+0530 INFO template/load.go:129 Template already exists and will not be overwritten.
Loaded index template
Loading dashboards (Kibana must be running and reachable)
2020-08-06T20:48:56.169+0530 INFO elasticsearch/client.go:163 Elasticsearch url: http://172.31.0.173:9200
2020-08-06T20:48:56.173+0530 INFO elasticsearch/client.go:708 Connected to Elasticsearch version 6.4.0
2020-08-06T20:48:56.174+0530 INFO kibana/client.go:113 Kibana url: http://172.31.0.117:5601
2020-08-06T20:48:57.721+0530 INFO instance/beat.go:659 Kibana dashboards successfully loaded.
Loaded dashboards
Can you please tell me IP and port of which instance should go here? Kibana or APM or Elasticsearch?
I assume the format would be something like the below and please correct me if I am wrong -
curl -i -H "Content-type: application/json" --data-binary '{"service": { "name": "service1", "agent": { "name": "python", "version": "1.0"} }, "transactions": [ { "id": "945254c5-67a5-417e-8a4e-aa29efcbfb79", "type": "request", "duration": 32.592981} ]}' <172.31.0.117:8200>/v1/transactions