# Field is present but missing

**URL:** <https://discuss.elastic.co/t/field-is-present-but-missing/152453>\
**Category:** Logstash\
**Created:** [October 15, 2018, 8:33am UTC](https://discuss.elastic.co/t/field-is-present-but-missing/152453 "2018-10-15T08:33:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fiothiel](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@Fiothiel](https://discuss.elastic.co/u/Fiothiel)\
**Post date:** [October 15, 2018, 8:33am UTC](https://discuss.elastic.co/t/field-is-present-but-missing/152453/1 "2018-10-15T08:33:55Z")

</div>

Hello,

I'll start off by saying I am very new to Kibana. With a lot of googling I have managed to come as far as I have, but now I am stuck. I am reading log files and in the Discover tag I can finally see the fields I have added (but only when I uncheck "Hide Missing Fields), but they do not seem to contain anything.  
However, when try it out in a Grok debugger ([https://grokdebug.herokuapp.com/](https://grokdebug.herokuapp.com/)) it looks like it's supposed to work.

This is how the log lines look:  
`2018-10-15 09:02:04,254 [121] INFO System.Object: Cookie settings level: 2`

And this is my config file:

```
input { 
	file {
		path => "path to log.log"   
		start_position => "beginning"
		codec => multiline {
			pattern => "^%{TIMESTAMP_ISO8601:log_timestamp} \[%{NUMBER:thread_id}\] %{WORD:log_level}"
			negate => true
			what => "previous"
		}

		type => "test_info"
	}
}

output {

	if "test_info" == [type] {
		elasticsearch {
			hosts => ["10.21.4.37:9200"]
			index => "test_info"
			document_type => "episerver_info"
		}
	}
}

filter {
	if "test_info" == [type] {
		grok {
			match => ["message", "%{TIMESTAMP_ISO8601:log_timestamp} \[%{NUMBER:thread_id}\] %{WORD:log_level} %{DATA:info_class}: %{GREEDYDATA:info_message}"]
		}
	}
}

```

I have looked around for hours now trying to figure out what I am missing. I have updated the index several times but that does not change anything. How come I managed to get my fields as I want in the Grok debugger, but Kabana/Elasticsearch somehow ignores to add data in them?  
Any help would be greatly appreciated.

---

<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:** [October 15, 2018, 10:52am UTC](https://discuss.elastic.co/t/field-is-present-but-missing/152453/2 "2018-10-15T10:52:18Z")

</div>

I moved this over to the logstash category

---

<div class="post-metadata">

**Author:** ![Fiothiel](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@Fiothiel](https://discuss.elastic.co/u/Fiothiel)\
**Post date:** [October 15, 2018, 11:00am UTC](https://discuss.elastic.co/t/field-is-present-but-missing/152453/3 "2018-10-15T11:00:11Z")

</div>

Thank you. I wasn't quite sure where it belonged.

---

<div class="post-metadata">

**Author:** ![Fiothiel](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@Fiothiel](https://discuss.elastic.co/u/Fiothiel)\
**Post date:** [October 17, 2018, 7:32am UTC](https://discuss.elastic.co/t/field-is-present-but-missing/152453/4 "2018-10-17T07:32:34Z")

</div>

We managed to figure it out. 🙂

---

<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:** [November 14, 2018, 7:32am UTC](https://discuss.elastic.co/t/field-is-present-but-missing/152453/5 "2018-11-14T07:32:36Z")

</div>

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