I have this url
https://www.reddit.com/search?q=apple
i want to extract query parameter from thie url
how?
Use a dissect filter
dissect { mapping => { "somefield" => "%{url}?%{qs}" } }
kv { source = "qs" field_split => "&" }
I have this url
https://www.reddit.com/search?q=apple
i want to extract query parameter from thie url
how?
Use a dissect filter
dissect { mapping => { "somefield" => "%{url}?%{qs}" } }
kv { source = "qs" field_split => "&" }
© 2020. All Rights Reserved - Elasticsearch
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.