# Logstash class and file and method display "?"

**URL:** <https://discuss.elastic.co/t/logstash-class-and-file-and-method-display/63271>\
**Category:** Logstash\
**Created:** [October 18, 2016, 9:24am UTC](https://discuss.elastic.co/t/logstash-class-and-file-and-method-display/63271 "2016-10-18T09:24:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slowlizard](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@slowlizard](https://discuss.elastic.co/u/slowlizard)\
**Post date:** [October 18, 2016, 9:24am UTC](https://discuss.elastic.co/t/logstash-class-and-file-and-method-display/63271/1 "2016-10-18T09:24:08Z")

</div>

```auto
 "_index": "meipianapp-2016.10.18",
  "_type": "log4j",
  "_id": "AVfXDMl1egLz1PD_qnMm",
  "_score": null,
  "_source": {
    "message": "用户查询时光祭异常:MjController.userMjActivityPast: aMapCityCode:010",
    "@version": "1",
    "@timestamp": "2016-10-18T09:08:41.324Z",
    "timestamp": 1476781719183,
    "path": "com.meipian.core.api.controller.MjActivityController",
    "priority": "ERROR",
    "logger_name": "com.meipian.core.api.controller.MjActivityController",
    "thread": "http-bio-8080-exec-6",
    "class": "?",
    "file": "?:?",
    "method": "?",

```

I would like to ask why class and file and method is a question mark it?

my logstash is below：

```auto
nput {

  log4j {

    mode => "server"

    host => "0.0.0.0"

    port => 4567

    type => "log4j"

  }

}

    filter {

                date {

      match => ["timestamp" , "dd/MMM/yyyy:HH:mm:ss +0800"]

      timezone => "UTC"

           }

        }

output {

  elasticsearch {

     hosts=> ["10.105.103.125:9200"]

     index => "meipianapp-%{+YYYY.MM.dd}"

  }

}

```

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 18, 2016, 9:49am UTC](https://discuss.elastic.co/t/logstash-class-and-file-and-method-display/63271/2 "2016-10-18T09:49:15Z")

</div>

The Java bytecode is probably lacking debug symbols.

> <https://stackoverflow.com/questions/3145826/check-if-java-bytecode-contains-debug-symbols>

---

<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 6, 2017, 4:33am UTC](https://discuss.elastic.co/t/logstash-class-and-file-and-method-display/63271/3 "2017-07-06T04:33:44Z")

</div>


