# Beginner stuggles with aggregations / facets

**URL:** <https://discuss.elastic.co/t/beginner-stuggles-with-aggregations-facets/46673>\
**Category:** Elasticsearch\
**Created:** [April 7, 2016, 12:17pm UTC](https://discuss.elastic.co/t/beginner-stuggles-with-aggregations-facets/46673 "2016-04-07T12:17:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KoreMike](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@KoreMike](https://discuss.elastic.co/u/KoreMike)\
**Post date:** [April 7, 2016, 12:17pm UTC](https://discuss.elastic.co/t/beginner-stuggles-with-aggregations-facets/46673/1 "2016-04-07T12:17:07Z")

</div>

I am following the tutorial at [https://www.elastic.co/blog/data-visualization-elasticsearch-aggregations](https://www.elastic.co/blog/data-visualization-elasticsearch-aggregations)

I have elasticsearch running on port 9200 as usual, and I have successfully indexed the nfl data.

I have also followed the tutorial to create the index.html and .js files and started the quick python server.

However when I go to [http://127.0.0.1:8000/](http://127.0.0.1:8000/) I am being presented with an empty page.

What might I be doing wrong? Should I have the nfl app in the same folder as elasticsearch? IS there an issue with elasticsearch running on port 9200 while the app is served on 8000?

I am currently working with 2 separate folders of the following structure:

```
elasticsearch/
 	bin/
 	config/
 	data/
 	lib/
 	logs
 	country.csv
 	LICENSE.txt
 	nfl_2013.json
 	nfl_mapping.json
 	
nfl/
 	scripts/
                d3.v3.js
                elasticsearch.js
                main.js
                require.js
 	index.html

```

Any help would be much appreciated!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 9, 2016, 9:38am UTC](https://discuss.elastic.co/t/beginner-stuggles-with-aggregations-facets/46673/2 "2016-04-09T09:38:02Z")

</div>

That's pretty old by now!  
What version of ES are you running?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:00pm UTC](https://discuss.elastic.co/t/beginner-stuggles-with-aggregations-facets/46673/3 "2017-07-05T23:00:58Z")

</div>

Closed on July 5, 2017, 11:00pm UTC


