# I am not read all log file and am not able to create new index

**URL:** https://discuss.elastic.co/t/i-am-not-read-all-log-file-and-am-not-able-to-create-new-index/167031
**Category:** Beats
**Tags:** filebeat
**Created:** [February 4, 2019, 9:29pm UTC](https://discuss.elastic.co/t/i-am-not-read-all-log-file-and-am-not-able-to-create-new-index/167031 "2019-02-04T21:29:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://discuss.elastic.co/u/nani)
#### Post date: [February 4, 2019, 9:29pm UTC](https://discuss.elastic.co/t/i-am-not-read-all-log-file-and-am-not-able-to-create-new-index/167031/1 "2019-02-04T21:29:04Z")

</div>

hi i am new to elasticsearch and filebeat.

#=========================== Filebeat inputs =============================

filebeat.inputs:

# Each - is an input. Most options can be set at the input level, so

# you can use different inputs for various configurations.

# Below are the input specific configurations.

- type: log

#============================= Filebeat modules ===============================

filebeat.config.modules:

# Glob pattern for configuration loading

#path: ${path.config}/modules.d/\*.yml  
path: C:\Program Files\Filebeat\modules.d\*.yml

# Set to true to enable config reloading

reload.enabled: true

# Period on which files under path should be checked for changes

#reload.period: 10s  
#============================== Dashboards =====================================

# These settings control loading the sample dashboards to the Kibana index. Loading

# the dashboards is disabled by default and can be enabled either by setting the

# options here, or by using the `-setup` CLI flag or the `setup` command.

setup.dashboards.enabled: true

output.elasticsearch:

# Array of hosts to connect to.

hosts: ["[http://localhost:9200](http://localhost:9200)"]  
#index: "filebeat-%{[beat.version]}-%{+yyyy.MM.dd}"  
#index: "Intelliviewlogs-%{[beat.version]}-%{+yyyy.MM.dd}"  
#setup.template.name: "viewlogs"  
#setup.template.pattern: "viewlogs-_"  
 #setup.dashboards.index: "viewlogs-_"

## indices:

## index: "view1-%{[beat.version]}-%{+yyyy.MM.dd}"

## when.contains:

```
 ## message: "INFO"

```

- manage\_template: false  
-index: "view1-%{[beat.version]}-%{+yyyy.MM.dd}"
- document\_type : "%{[@view1][type]}"`Preformatted text`

---

<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: [February 5, 2019, 1:28am UTC](https://discuss.elastic.co/t/i-am-not-read-all-log-file-and-am-not-able-to-create-new-index/167031/2 "2019-02-05T01:28:51Z")

</div>

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

This is the icon to use if you are not using markdown format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.  
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.  
Please update your post.

In the meantime I moved your post to #beats:filebeat

---

<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: [March 5, 2019, 1:28am UTC](https://discuss.elastic.co/t/i-am-not-read-all-log-file-and-am-not-able-to-create-new-index/167031/3 "2019-03-05T01:28:51Z")

</div>

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