I'm a newbe and trying to find all numbers in text with GROK. I'm using GROK debugger.
My sample text: "Sample content with date 11 22 2022 and entity California and another date 1 1 1999 2-3-2024"
I hope to get an array like this ["11", "22", "2022", ""1", "1", "1999", "2", "3", "2024"]
I tried (with chatGPT, likely to be a newbe too ;-))
%{NUMBER:numbers}
%{NUMBER:num}(?:\s|%{SPACE})+
and several other variants.
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.