# 'Index' json 'message' field without Logstash but within Filebeat? Filebeat \> ES \> Kibana

**URL:** <https://discuss.elastic.co/t/index-json-message-field-without-logstash-but-within-filebeat-filebeat-es-kibana/298775>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 3, 2022, 5:54pm UTC](https://discuss.elastic.co/t/index-json-message-field-without-logstash-but-within-filebeat-filebeat-es-kibana/298775 "2022-03-03T17:54:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GB88](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gb88/32/102513_2.png) [@GB88](https://discuss.elastic.co/u/GB88)\
**Post date:** [March 3, 2022, 5:54pm UTC](https://discuss.elastic.co/t/index-json-message-field-without-logstash-but-within-filebeat-filebeat-es-kibana/298775/1 "2022-03-03T17:54:25Z")

</div>

Hello,

on to the next challange.

I've setup Elasticsearch, Kibana and Filebeat. Filebeat is sending json files to ES\>Kibana.  
This part is working. Though, in Kibana the data is only in the 'Discover' menu.

A few questions:

1. which part of the filebeat.yml defines what the data view in the 'discover' pane is called? Currently it's just a generic looking "filebeat-\*". I've tried modifying the filebeat.yml at several places in hopes to find out which one would change the naming. No luck so far.

2. And more importantly, without using Logstash, can I somehow have Filebeats send the json 'message' field unscrambled to ES\>Kibana i.e. to display different the different values within the message field as columns, so the data in Kibana can acatully be analyzed in a useful way?

**filebeat.yml:**

```auto
filebeat.inputs:
- type: log
  enabled: true
  paths:
    - C:\Program Files\temp\jsondump.json
 
filebeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: true

setup.template.enabled: true
setup.template.name: "filebeat"
setup.template.fields: "fields.yml"
setup.template.settings:
index.number_of_shards: 1

setup.dashboards.enabled: true

setup.kibana:
  host: "172.1.1.50:5601"

output.elasticsearch:
  hosts: ["172.1.1.50:9200"]
  protocol: "http"
  username: "elastic"
  password: " *******"

processors:
  - add_host_metadata:
      when.not.contains.tags: forwarded
  - add_cloud_metadata: ~
  - add_docker_metadata: ~
  - add_kubernetes_metadata: ~

logging.level: debug
logging.selectors: ["*"]
paths: 'C:\Program Files\Filebeat\logs\'
name: "filebeattest"

```

There is a high possibility I've configured to many lines and the filebeat.yml config contains lines that potential could be removed and are not required 🙂

I did try out adding:

```auto
processors:
  - decode_json_fields:
      fields: ["message"]
      target: ""

```

to the filebeat.yml. But after adding those lines, the filebeat service won't start at all.

Thank you!

---

<div class="post-metadata">

**Author:** ![GB88](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gb88/32/102513_2.png) [@GB88](https://discuss.elastic.co/u/GB88)\
**Post date:** [March 3, 2022, 11:21pm UTC](https://discuss.elastic.co/t/index-json-message-field-without-logstash-but-within-filebeat-filebeat-es-kibana/298775/2 "2022-03-03T23:21:38Z")

</div>

Solved 🙂

---

<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 1, 2022, 1:21am UTC](https://discuss.elastic.co/t/index-json-message-field-without-logstash-but-within-filebeat-filebeat-es-kibana/298775/3 "2022-04-01T01:21:53Z")

</div>

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