# Strange observation in ELK

**URL:** <https://discuss.elastic.co/t/strange-observation-in-elk/83655>\
**Category:** Logstash\
**Created:** [April 26, 2017, 6:39am UTC](https://discuss.elastic.co/t/strange-observation-in-elk/83655 "2017-04-26T06:39:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raja1](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Raja1](https://discuss.elastic.co/u/Raja1)\
**Post date:** [April 26, 2017, 6:39am UTC](https://discuss.elastic.co/t/strange-observation-in-elk/83655/1 "2017-04-26T06:39:27Z")

</div>

Hi All,

I have created configuration in logstash and able to saw the logs in kibana with huge content like 7 lakh lines. Then i have separated the same data into parts with 1 lakh lines in each file and made 7 log files in it.Now still i am seeing old data with old log path even the log file not available.

Nothing had changed apart from making huge log file into parts and changing log path from /etc/logstash/audit.log to /etc/logstash/\*.log.

My configuration looks like below.

input  
{  
file  
{  
path =\> "/etc/logstash/\*.log"  
codec =\> multiline {  
pattern =\> "(^%{TIMESTAMP\_ISO8601} )"  
negate =\> "true"  
what =\> "previous"  
}  
codec =\> "json"  
type =\> "%{type}"  
sincedb\_path =\> "/dev/null"  
}  
}  
filter  
{  
grok  
{  
match =\> {"message" =\> "%{SPACE}%{NOTSPACE}%{SPACE}%{GREEDYDATA}"}  
}  
}  
output  
{  
elasticsearch  
{  
hosts =\> ["159.122.121.231:9200"]  
index =\> "%{index}-%{+YYYY.MM.dd}"  
document\_id =\> "%{\_id}"  
}  
stdout {codec =\> rubydebug }  
}

Please help me to resolve this issue.

Regards  
Raja

---

<div class="post-metadata">

**Author:** ![Raja1](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Raja1](https://discuss.elastic.co/u/Raja1)\
**Post date:** [April 27, 2017, 3:05am UTC](https://discuss.elastic.co/t/strange-observation-in-elk/83655/2 "2017-04-27T03:05:31Z")

</div>

I resolved this issue by removing the old index and creating new one with same name.  
I am unable to create new index and assigning the new data in to it. I have gone thru the documents but i am unable to reach that level.

Thanks for this again not replying back to my question.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 27, 2017, 3:21am UTC](https://discuss.elastic.co/t/strange-observation-in-elk/83655/3 "2017-04-27T03:21:37Z")

</div>

See my answer at

> [@Logs are not displaying with event wise](https://discuss.elastic.co/t/logs-are-not-displaying-with-event-wise/83643/3):
>
> You are very welcomed. Your message is encouraging me not to answer to any of your messages. Did you read this page? [https://discuss.elastic.co/t/about-the-elasticsearch-category/21/1](https://discuss.elastic.co/t/about-the-elasticsearch-category/21/1) If not please look at the "Also be patient" part.

---

<div class="post-metadata">

**Author:** ![Raja1](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Raja1](https://discuss.elastic.co/u/Raja1)\
**Post date:** [April 27, 2017, 3:24am UTC](https://discuss.elastic.co/t/strange-observation-in-elk/83655/4 "2017-04-27T03:24:36Z")

</div>

Again misunderstanding.

I told because of not getting reply i was able to solve my problem.  
If you observe again i asked one more question there. I have patience that's why i gave what i did to resolve my issue.

Even if any issue i will post the questions to here. No matter what how much time it will take.

---

<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 25, 2017, 3:31am UTC](https://discuss.elastic.co/t/strange-observation-in-elk/83655/5 "2017-05-25T03:31:59Z")

</div>

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