Maybe my best bet is to start with my end goal and then someone can tell me if this is possible. I'd like to build Kibana visuals that show top mentions of hashtags as they appear in the [extended_tweet][full_text] field. It seem like the first step is to pull the 'hashtagged' words out of this field and stick them as an array into their own field. Is it then possible for visualizations to search and aggregate separate values in a field?
How would I isolate data in a text field and move it into another?
Can Kibana visualizations aggregate and visualize values that are part of an array in a field?
Looks to be a little more complicated...so far I've come up with: code => "event.set('links', event.get('text').scan(/(https:\/\/|http:\/\/)[a-z].*/i)) but all that's being captured in the links field is http:// or https://. I also don't think this will work completely as it is looking to include everything after the http://, I need a delimiter to separate multiple links.
hmm....found an online regex builder and the builder seemed to like this but it's still only putting http:// or https:// in the field... code => "event.set('links', event.get('[extended_tweet][full_text]').scan(/(https:\/\/|http:\/\/)\S*/i))"
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.