# Cannot visualize data from different logs in same index with one common field

**URL:** <https://discuss.elastic.co/t/cannot-visualize-data-from-different-logs-in-same-index-with-one-common-field/99815>\
**Category:** Kibana\
**Created:** [September 8, 2017, 8:30am UTC](https://discuss.elastic.co/t/cannot-visualize-data-from-different-logs-in-same-index-with-one-common-field/99815 "2017-09-08T08:30:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sushanth](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@sushanth](https://discuss.elastic.co/u/sushanth)\
**Post date:** [September 8, 2017, 8:30am UTC](https://discuss.elastic.co/t/cannot-visualize-data-from-different-logs-in-same-index-with-one-common-field/99815/1 "2017-09-08T08:30:49Z")

</div>

I have two log files (to be simple)  
one with **ID NAME**  
another with **ID STATUS**  
When I pull them into elastic search, It gets parsed in different timestamps  
So, I cannot use all those 3 fields inside a single visualization  
Is there anyway of achieving that??  
Thanks in advance 🙂

---

<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:** [September 8, 2017, 8:54am UTC](https://discuss.elastic.co/t/cannot-visualize-data-from-different-logs-in-same-index-with-one-common-field/99815/2 "2017-09-08T08:54:46Z")

</div>

Did you try increasing the timeframe?

---

<div class="post-metadata">

**Author:** ![sushanth](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@sushanth](https://discuss.elastic.co/u/sushanth)\
**Post date:** [September 8, 2017, 1:06pm UTC](https://discuss.elastic.co/t/cannot-visualize-data-from-different-logs-in-same-index-with-one-common-field/99815/3 "2017-09-08T13:06:09Z")

</div>

time difference is in milliseconds.. I will give a screen shot!  
Capture|690x141

inst\_id inst\_name status

for same inst\_id I require other two fields to be displayed in a same visualization  
I tried "dataTables" but one value gets nullified

incase the screenshot doesn't load

**@timestamp inst\_id inst\_name status**  
\> September 8th 2017, 12:06:55.526 100 - ONLINE  
\> September 8th 2017, 12:06:55.558 100 ICICI -  
\> September 8th 2017, 12:06:55.559 101 IDBI -  
\> September 8th 2017, 12:06:55.527 101 - ONLINE

I dont know how to preserve spaces in this comment ☹

---

<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:** [September 8, 2017, 8:58pm UTC](https://discuss.elastic.co/t/cannot-visualize-data-from-different-logs-in-same-index-with-one-common-field/99815/5 "2017-09-08T20:58:38Z")

</div>

> [@sushanth](#):
>
> I dont know how to preserve spaces in this comment ☹

Use the code formatting button - `</>`.

---

<div class="post-metadata">

**Author:** ![sushanth](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@sushanth](https://discuss.elastic.co/u/sushanth)\
**Post date:** [September 11, 2017, 4:17am UTC](https://discuss.elastic.co/t/cannot-visualize-data-from-different-logs-in-same-index-with-one-common-field/99815/6 "2017-09-11T04:17:52Z")

</div>

Thanks for the help, this is the parsed info in elastic search from two logs containing _ **Inst\_id inst\_name** _ in one file and _ **inst\_id status** _ in one file

```
Time inst_id inst_name status  
September 8th 2017, 12:06:55.571	107 CANARA - 
September 8th 2017, 12:06:55.584	107 - OFFLINE
September 8th 2017, 12:06:55.570	106 IOB - 
September 8th 2017, 12:06:55.581	106 - ONLINE
September 8th 2017, 12:06:55.579	105 - ONLINE
September 8th 2017, 12:06:55.568	105 KVB - 
September 8th 2017, 12:06:55.566	104 AXIS - 
September 8th 2017, 12:06:55.576	104 - ONLINE

```

I need to get inst\_name and status into same visualization with Inst\_ID, but any one field gets nullified due to timestamp

---

<div class="post-metadata">

**Author:** ![sushanth](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@sushanth](https://discuss.elastic.co/u/sushanth)\
**Post date:** [September 14, 2017, 7:21am UTC](https://discuss.elastic.co/t/cannot-visualize-data-from-different-logs-in-same-index-with-one-common-field/99815/7 "2017-09-14T07:21:25Z")

</div>

EDIT: Found a work around...  
Using : Elasticsearch filter plugin  
We can query the stored info in elastic search and can add as a new field in to current data

---

<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:** [October 12, 2017, 7:22am UTC](https://discuss.elastic.co/t/cannot-visualize-data-from-different-logs-in-same-index-with-one-common-field/99815/8 "2017-10-12T07:22:02Z")

</div>

Closed on October 12, 2017, 7:22am UTC

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