i refer to metricbeat document
Run the following command inside my beat directory:
#make create-metricset
The results are as follows:
[elk@oam2 metricbeat-5.0.1-linux-x86_64]$ make create-metricset
make: *** No rule to make target `create-metricset'. Stop.
How to solve this problem?
maddin2016
(Maddin2016)
January 13, 2017, 12:48pm
2
Do you have call make-setup
before? It should rather ask you to create a metricbeat module and and a metricset. See here for further informations.
ruflin
(ruflin)
January 15, 2017, 8:18pm
3
Did you download the beats source code or a binary package?
i am newbee. please tell me where is wrong. THX Orz
I have already installed golang python virtualenv cookiecutter
maddin2016
(Maddin2016)
January 16, 2017, 2:48pm
6
Hi @Pikachu_TEX , you have to install git on your machine.
Hi i want ask some question
Now i already get the metricbeat source code. then i creat the beat
thats no problem. follow the doc ,Step 3 - Init and create the metricset i run make setup
I do not know if this is right or wrong
isee the docs about creating a metricset。
then run make collect & make
so i would like to ask,where is wrong?
plz teach me , Master!
ruflin
(ruflin)
January 17, 2017, 10:21am
8
I think your beat was not copied to the correct GOPATH: https://github.com/golang/go/wiki/GOPATH
Please do not share log output as screenshots. This is very hard to read and impossible to search. Use a gist for that and link it here.
HI ! this is my GOLANG export :
#export GOROOT=/usr/local/go
#export GOBIN=$GOROOT/bin
#export PATH=$PATH:$GOBIN
#export GOPATH=/mnt/wwwroot/gofile
then i refer the doc
#cd /mnt/wwwroot/gofile/src/github.com/elastic/
and run command
#go get
github.com/elastic/beats/metricbeat
And then generate the file
Is this right??
ruflin
(ruflin)
January 18, 2017, 12:41pm
10
Looks ok. But which path are you in when you do ls
. NO screenshots please
ruflin
(ruflin)
January 19, 2017, 9:43am
12
Did you just post a screenshot again?
Run the command pwd
and post the output as text.
Can you perhaps elaborate on what metricset you plan to create?
En.. I just want to monitor Oracle weblogic with metricbeat. ... create a weblogic module but no detailed references found
ruflin
(ruflin)
January 19, 2017, 10:17am
14
@Pikachu_TEX What is it with your screenshots? Can you please stop doing that?
You seem to be in the elastic directory. Now doing cd beats/metricbeat
should bring you to the metricbeat directory. There you can run make create-metricset
and start the development.
sorry i learn ELK was not for long
As your said, I seem to know how to do it.
if encounter problems again, i will ask you
system
(system)
Closed
February 16, 2017, 3:28pm
16
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.