# Ingest Node or Uploading data to website

**URL:** <https://discuss.elastic.co/t/ingest-node-or-uploading-data-to-website/225492>\
**Category:** Elasticsearch\
**Created:** [March 28, 2020, 3:10pm UTC](https://discuss.elastic.co/t/ingest-node-or-uploading-data-to-website/225492 "2020-03-28T15:10:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![KaustubhB](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaustubhb/32/65173_2.png) [@KaustubhB](https://discuss.elastic.co/u/KaustubhB)\
**Post date:** [March 28, 2020, 3:10pm UTC](https://discuss.elastic.co/t/ingest-node-or-uploading-data-to-website/225492/1 "2020-03-28T15:10:16Z")

</div>

What I am doing currently is, fetching logs from one elastic search index. Now I want these logs to be accessible to other users through a good user interface. For that, I was thinking of two options-

1. Create a small website to display the logs in a table format after fetching from the source elastic search index
2. Use ingest node to query some logs from one index and upload those to a new elastic search index. And using kibana we can already see the logs with a good UI.

Since one of my requirement is adding, deleting columns when visualizing the data, the second option seems suitable for now. But I am concerned about the speed efficiency of both options? Which among the two options is better from the perspective of the amount of time the user has to wait to see the required logs?

I am trying to make comparisons between these two options and finalize one of them. If you can help with other comparative parameters between these two options, it would be a great help.

Thank you

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [March 30, 2020, 2:31pm UTC](https://discuss.elastic.co/t/ingest-node-or-uploading-data-to-website/225492/2 "2020-03-30T14:31:54Z")

</div>

How about using an [alias with a filter](https://www.elastic.co/guide/en/elasticsearch/reference/7.6/indices-add-alias.html#add-alias-api-request-body) (note that this is not a security feature, for that you would need to use security and could go with [document level security](https://www.elastic.co/guide/en/elasticsearch/reference/7.6/document-level-security.html)

hope this helps!

---

<div class="post-metadata">

**Author:** ![KaustubhB](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaustubhb/32/65173_2.png) [@KaustubhB](https://discuss.elastic.co/u/KaustubhB)\
**Post date:** [March 31, 2020, 3:48am UTC](https://discuss.elastic.co/t/ingest-node-or-uploading-data-to-website/225492/3 "2020-03-31T03:48:51Z")

</div>

I am a beginner to Elasticsearch. Can you please elaborate how exactly will alias with a filter help me? Sorry if the question is too trivial 😅

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [March 31, 2020, 11:18am UTC](https://discuss.elastic.co/t/ingest-node-or-uploading-data-to-website/225492/4 "2020-03-31T11:18:20Z")

</div>

That's fine, but please take your time and follow the documentation and ask based on what you read. An alias with a filter allows your app to specify an alias instead of an index that always has a filter applied like `website=123` and thus no other documents can ever be seen unless a different index is specified.

---

<div class="post-metadata">

**Author:** ![KaustubhB](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaustubhb/32/65173_2.png) [@KaustubhB](https://discuss.elastic.co/u/KaustubhB)\
**Post date:** [April 1, 2020, 5:56am UTC](https://discuss.elastic.co/t/ingest-node-or-uploading-data-to-website/225492/5 "2020-04-01T05:56:55Z")

</div>

Oh got it. Can we see the aliased collection of documents in kibana as well? And Thank you for quick response 🙂

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [April 3, 2020, 1:30pm UTC](https://discuss.elastic.co/t/ingest-node-or-uploading-data-to-website/225492/6 "2020-04-03T13:30:03Z")

</div>

on the outside an alias is just an index, so yes, you can specify an alias in an index pattern.

---

<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:** [May 1, 2020, 1:42pm UTC](https://discuss.elastic.co/t/ingest-node-or-uploading-data-to-website/225492/7 "2020-05-01T13:42:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
