Is it possible to parse URL, keep the first argument and graph it.
For example, i have some datas like this :
site1/page1.html
site1/page2.html
site1/dir/index.html
site2/index.php
site3/index.php
i want visualise only the number of site1, site2, site3, ...
If this is something you'll need frequently I would suggest splitting this out into its own field before ingesting into elasticsearch, using something like logstash.
If not, you can use a scripted field. The scripting language painless is available in 5.0+ and a script for this would look something like:
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.