I was following the Pattern Capture Token Filter example on the Elasticsearch 5.6 documentation. I tried running one example on my local elastic instance. I got the tokens but they all are showing the same start and end offsets. I know due to the default behaviour of Pattern Capture Token Filter, I am getting all the tokens with same start and end offsets. But, my question is that is there a work around by which I can get the start and end offsets or position of the generated tokens from the matched string?
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Timestamp in ElasticSearch and Kibana | 0 | 1072 | May 12, 2020 | |
Timestamp in ElasticSearch and Kibana is displaying same Hours, minutes and seconds for different logs | 0 | 1770 | May 15, 2020 | |
JSON Selecttokens filter | 6 | 31 | September 14, 2024 | |
Extract string from text | 9 | 2638 | October 29, 2018 | |
Regex Extractor not extracting proper values | 3 | 616 | December 21, 2022 |