hmschreck
(Harold M Schreckengost)
June 18, 2019, 4:17pm
1
I am creating a custom beat, and I have things such as the follow in _meta/fields.yml
- name: port_22_out
type: integer
When I run the built beat, it is not sending a mapping, as evidenced by the following mapping
in the index in Kibana:
{
"mapping": {}
}
There is not a json template file in here anywhere - what am I missing?
kvch
(Noémi Ványi)
June 25, 2019, 4:50pm
2
Have you run make update
, so the appropriate include/fields.go
is generated?
hmschreck
(Harold M Schreckengost)
June 27, 2019, 4:48pm
3
I have! My current workaround is to forcibly overwrite using fields.yml, but that feels really gross.
kvch
(Noémi Ványi)
June 28, 2019, 11:40am
4
What do you mean by forcibly overwrite using fields.yml?
hmschreck
(Harold M Schreckengost)
June 28, 2019, 6:42pm
5
If I set "setup.template.overwrite: true" and specify the freshly generated fields.yml, it works fine.
system
(system)
Closed
July 26, 2019, 6:42pm
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.