Skip to content

make: *** [init] Error 2 #4

@berrytchaks

Description

@berrytchaks

Hi,

Nice job for the beat. I built this beat and I got the following

beatuser@wouritech:~/goworkspace/src/github.com/consulthys/springbeat$ make
glide update --no-recursive
[INFO]	Downloading dependencies. Please wait...
[INFO]	--> Fetching updates for github.com/elastic/beats.
[INFO]	Exporting resolved dependencies...
[INFO]	--> Exporting github.com/elastic/beats
[INFO]	Replacing existing vendor dependencies
[WARN]	Skipping lockfile generation because full dependency tree is not being calculated
make update
make[1]: Entering directory `/home/beatuser/goworkspace/src/github.com/consulthys/springbeat'
bash ./vendor/github.com/elastic/beats/libbeat/scripts/update.sh springbeat github.com/consulthys/springbeat ./vendor/github.com/elastic/beats/libbeat
Beat name: springbeat
Beat path: ../springbeat
Start modifying beat
Update config file
Update fields
Traceback (most recent call last):
  File "./vendor/github.com/elastic/beats/libbeat/scripts/generate_template.py", line 174, in <module>
    fields_to_es_template(input, output, beat_name + "-*")
  File "./vendor/github.com/elastic/beats/libbeat/scripts/generate_template.py", line 64, in fields_to_es_template
    "doc_values": defaults["doc_values"],
KeyError: 'doc_values'
make[1]: *** [update] Error 1
make[1]: Leaving directory `/home/beatuser/goworkspace/src/github.com/consulthys/springbeat'
make: *** [init] Error 2

Any clue?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions