# Wrong source file name

**URL:** https://discuss.elastic.co/t/wrong-source-file-name/80344
**Category:** Logstash
**Created:** [March 28, 2017, 6:20pm UTC](https://discuss.elastic.co/t/wrong-source-file-name/80344 "2017-03-28T18:20:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ssasporta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssasporta/32/13695_2.png) [@ssasporta](https://discuss.elastic.co/u/ssasporta)
#### Post date: [March 28, 2017, 6:20pm UTC](https://discuss.elastic.co/t/wrong-source-file-name/80344/1 "2017-03-28T18:20:46Z")

</div>

The file name in the OOB source field is wrong.  
I see that in the output of the logstash.

For example the message "\n|I |17:03:22 |41 |server |Correlati......" is coming from source file **ICSServerManager\_stdout.log00066** and not **ICSServerManager\_stdout.log00016**

```
 "host" => "vpelastic",
    "source" => "/home/vpwrk1/ElasticDataForTest/OMS/ICSServerManager_stdout.log00016",
   "message" => "\n|I |17:03:22 |41 |server |CorrelationID=ICSServerManager_41_1490195002320 |The RegistryAgent::'ICSServerManager' is starting the Socket communication: \n\t The Socket configuration: SocketConfig[Registry]\n \n\t The MulticastSocket configuration: MulticastSocketConfig[Registry]\n \n|I |17:03:22 |41 |server |CorrelationID=ICSServerManager_41_1490195002320 |JMXRegistryAgent listening on port: 56694.\n|I |17:03:22 |41 |server |CorrelationID=ICSServerManager_41_1490195002320 |Registry listening on port: 55148.\n|I |17:03:22 | JmxRegistryAgent has created the new MulticastSocket: java.net.MulticastSocket@542a983a\n\tSO_BROADCAST [true]\n\tSO_RCVBUF [4194304]\n\tSO_REUSEADDR [true]\n\tSO_SNDBUF [4194304]\n\tSO_TIMEOUT [0]\n\tTRAFFIC_CLASS [0]\n\tTIME_TO_LIVE [1]\n\tLOOPBACK_MODE [false]",
      "type" => "oms-server-ics-manage-stdout-log",
      "tags" => [
    [0] "multiline",
    [1] "beats_input_codec_multiline_applied",

```

What can be the problem?

Thanks  
Sharon.

---

<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: [March 30, 2017, 1:11am UTC](https://discuss.elastic.co/t/wrong-source-file-name/80344/2 "2017-03-30T01:11:13Z")

</div>

Depend what your config looks like I guess.

---

<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: [April 27, 2017, 1:11am UTC](https://discuss.elastic.co/t/wrong-source-file-name/80344/3 "2017-04-27T01:11:14Z")

</div>

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