filter {
grok {
id => "name school grok filter"
match => { 'message' => '^.*name=\'%{WORD:student.name}\'.*school=\'%{WORD:student.school}\''}
}
}
For example, with WORD:student.name I would like to create a field "student" and this field contains the information such as name. In Kibana "discover" I can see the logs, but it shows me that "student.name" is not mapped (Unmapped fields). How do I get that? I described the field under Index Management -> Index Templates -> Settings (from template). Still it doesn't work...
You cannot mix a string/text and a JSON object.
The "student.name" is the text .[student][name] is a nested/JSON field.
Go to Kibana and check Data view, if is text/keyword, delete index or reindex or make a new and recreate the data view.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.