# Monitoring Logstash with XPACK

**URL:** <https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165>\
**Category:** Logstash\
**Created:** [January 26, 2018, 8:06am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165 "2018-01-26T08:06:48Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [January 26, 2018, 8:06am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/1 "2018-01-26T08:06:48Z")

</div>

Hi!

I follow the instruction about installing and setting up logstash monitoring. No errors.

I using cloud ES and Kibana.

When I navigate to Monitoring - nothing happends - "No Monitor Data Found", but when I go to Dev Tools - I found logstash monitoring index, and it size increases.

Why monitoring tabs didn't work? May be I delete some visualizations? What should I test?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 26, 2018, 8:34am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/2 "2018-01-26T08:34:05Z")

</div>

What version of the different components are you using?

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [January 27, 2018, 8:27am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/3 "2018-01-27T08:27:58Z")

</div>

Logstash 6.1.2

---

<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:** [January 27, 2018, 9:24am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/4 "2018-01-27T09:24:14Z")

</div>

Can you show us your config, just remove things like URLs and passwords.

Please also show logs.

---

<div class="post-metadata">

**Author:** ![Vladi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vladi/32/108686_2.png) [@Vladi](https://discuss.elastic.co/u/Vladi)\
**Post date:** [January 27, 2018, 1:19pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/5 "2018-01-27T13:19:46Z")

</div>

just check your timestamp field. Problem shoud be there.

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [January 28, 2018, 7:09am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/6 "2018-01-28T07:09:30Z")

</div>

Here is logstash config

> node.name: test-node
> 
> xpack.monitoring.enabled: true  
> xpack.monitoring.elasticsearch.username: "elastic"  
> xpack.monitoring.elasticsearch.password: "%mypass%"  
> xpack.monitoring.elasticsearch.url: "%url%"
> 
> cloud.id: %myid%  
> cloud.auth: %login%:%myauth%

I think that monitoring data are in elasticsearch, beacuse I see monitoring indexes, and there size are increases, but I didn't know how to see monitoring data

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [January 28, 2018, 7:11am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/7 "2018-01-28T07:11:23Z")

</div>

And here is my pipeline config

> input {  
> beats {  
> port =\> "5044"  
> }  
> }  
> filter {  
> grok {  
> match =\> ["message", "%{TIME:eventtime}\t%{WORD:process\_id}\tGPU0 t=%{NUMBER:GPU0Temp:float}C fan=%{NUMBER:GPU0Fan:int}%"]  
> match =\> ["message", "%{TIME:eventtime}\t%{WORD:process\_id}\t%{GREEDYDATA:currency} - Total Speed: %{NUMBER:TotalSpeed:float} Mh/s, Total Shares: %{NUMBER:TotalShares}, Rejected: %{NUMBER:RejectedShares}"]  
> }
> 
> # date {
> 
> # match =\> ["eventtime", "HH:mm:ss:SSS"]
> 
> # }
> 
> ```
> if "_grokparsefailure" in [tags] {
> drop {}
> }
> 
> ```
> 
> }  
> output {  
> stdout { codec =\> rubydebug }  
> elasticsearch {  
> index =\> "gputest"  
> hosts =\> "%myhost%"  
> user =\> "elastic"  
> password =\> "%mypass%"  
> }  
> }

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [January 31, 2018, 7:51am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/8 "2018-01-31T07:51:38Z")

</div>

I register new account on elastic cloud and repeat setting up. The same problem

---

<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:** [January 31, 2018, 8:12pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/9 "2018-01-31T20:12:07Z")

</div>

Please show your logs.

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [February 1, 2018, 2:25pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/10 "2018-02-01T14:25:00Z")

</div>

You mean logstash logs on starting?

---

<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:** [February 1, 2018, 8:01pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/11 "2018-02-01T20:01:10Z")

</div>

Correct.

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [February 5, 2018, 8:01am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/12 "2018-02-05T08:01:53Z")

</div>

[2018-01-29T11:37:03,648][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"arcsight", :directory=\>"%mypath%/logstash-6.1.2/vendor/bundle/jruby/2.3.0/gems/x-pack-6.1.2-java/modules/arcsight/configuration"}  
[2018-01-29T11:37:06,552][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-01-29T11:37:10,887][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.1.2"}  
[2018-01-29T11:37:12,951][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2018-01-29T11:37:22,505][WARN][logstash.outputs.elasticsearch] You are using a deprecated config setting "document\_type" set in elasticsearch. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. Document types are being deprecated in Elasticsearch 6.0, and removed entirely in 7.0. You should avoid this feature If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=\>"document\_type", :plugin=\>\<LogStash::Outputs::ElasticSearch hosts=\>[%myhost%], bulk\_path=\>"/\_xpack/monitoring/\_bulk?system\_id=logstash&system\_api\_version=2&interval=1s", manage\_template=\>false, document\_type=\>"%{[@metadata][document\_type]}", sniffing=\>false, user=\>"elastic", password=\>, id=\>"%myid%", enable\_metric=\>true, codec=\>\<LogStash::Codecs::Plain id=\>"%myid%", enable\_metric=\>true, charset=\>"UTF-8"\>, workers=\>1, template\_name=\>"logstash", template\_overwrite=\>false, doc\_as\_upsert=\>false, script\_type=\>"inline", script\_lang=\>"painless", script\_var\_name=\>"event", scripted\_upsert=\>false, retry\_initial\_interval=\>2, retry\_max\_interval=\>64, retry\_on\_conflict=\>1, action=\>"index", ssl\_certificate\_verification=\>true, sniffing\_delay=\>5, timeout=\>60, pool\_max=\>1000, pool\_max\_per\_route=\>100, resurrect\_delay=\>5, validate\_after\_inactivity=\>10000, http\_compression=\>false\>}  
[2018-01-29T11:37:24,960][INFO][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=\>{:removed=\>[], :added=\>[[https://elastic](https://elastic):xxxxxx@%myURL%/]}}  
[2018-01-29T11:37:25,044][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck\_url=\>[https://elastic](https://elastic):xxxxxx@%myURL%:9243/, :path=\>"/"}  
[2018-01-29T11:37:27,172][WARN][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=\>"[https://elastic](https://elastic):xxxxxx@%myURL%:9243/"}  
[2018-01-29T11:37:27,797][INFO][logstash.outputs.elasticsearch] ES Output version determined {:es\_version=\>nil}  
[2018-01-29T11:37:27,810][WARN][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>6}  
[2018-01-29T11:37:27,947][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=\>"LogStash::Outputs::ElasticSearch", :hosts=\>["https://@%myURL%:9243"]}  
[2018-01-29T11:37:28,037][INFO][logstash.pipeline] Starting pipeline {:pipeline\_id=\>".monitoring-logstash", "pipeline.workers"=\>1, "pipeline.batch.size"=\>2, "pipeline.batch.delay"=\>5, "pipeline.max\_inflight"=\>2, :thread=\>"#\<Thread:0x12397dea run\>"}  
[2018-01-29T11:37:28,528][INFO][logstash.licensechecker.licensereader] Elasticsearch pool URLs updated {:changes=\>{:removed=\>[], :added=\>[[https://elastic](https://elastic):xxxxxx@%myURL%:9243/]}}  
[2018-01-29T11:37:28,539][INFO][logstash.licensechecker.licensereader] Running health check to see if an Elasticsearch connection is working {:healthcheck\_url=\>[https://elastic](https://elastic):xxxxxx@%myURL%:9243/, :path=\>"/"}  
[2018-01-29T11:37:29,022][WARN][logstash.licensechecker.licensereader] Restored connection to ES instance {:url=\>"[https://elastic](https://elastic):xxxxxx@%myURL%:9243/"}

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [February 5, 2018, 8:02am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/13 "2018-02-05T08:02:04Z")

</div>

[2018-01-29T11:37:29,760][INFO][logstash.licensechecker.licensereader] ES Output version determined {:es\_version=\>nil}  
[2018-01-29T11:37:29,768][WARN][logstash.licensechecker.licensereader] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>6}  
[2018-01-29T11:37:30,559][INFO][logstash.pipeline] Pipeline started {"pipeline.id"=\>".monitoring-logstash"}  
[2018-01-29T11:37:53,004][INFO][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=\>{:removed=\>[], :added=\>[[https://elastic](https://elastic):xxxxxx@%myURL%:9243/]}}  
[2018-01-29T11:37:53,022][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck\_url=\>[https://elastic](https://elastic):xxxxxx@%myURL%:9243/, :path=\>"/"}  
[2018-01-29T11:37:53,594][WARN][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=\>"[https://elastic](https://elastic):xxxxxx@%myURL%:9243/"}  
[2018-01-29T11:37:53,909][INFO][logstash.outputs.elasticsearch] ES Output version determined {:es\_version=\>nil}  
[2018-01-29T11:37:53,911][WARN][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>6}  
[2018-01-29T11:37:53,917][INFO][logstash.outputs.elasticsearch] Using mapping template from {:path=\>nil}  
[2018-01-29T11:37:53,970][INFO][logstash.outputs.elasticsearch] Attempting to install template {:manage\_template=\>{"template"=\>"logstash-_", "version"=\>60001, "settings"=\>{"index.refresh\_interval"=\>"5s"}, "mappings"=\>{"default"=\>{"dynamic\_templates"=\>[{"message\_field"=\>{"path\_match"=\>"message", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false}}}, {"string\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false, "fields"=\>{"keyword"=\>{"type"=\>"keyword", "ignore\_above"=\>256}}}}}], "properties"=\>{"@timestamp"=\>{"type"=\>"date"}, "@version"=\>{"type"=\>"keyword"}, "geoip"=\>{"dynamic"=\>true, "properties"=\>{"ip"=\>{"type"=\>"ip"}, "location"=\>{"type"=\>"geo\_point"}, "latitude"=\>{"type"=\>"half\_float"}, "longitude"=\>{"type"=\>"half\_float"}}}}}}}}  
[2018-01-29T11:37:54,186][INFO][logstash.outputs.elasticsearch] Installing elasticsearch template to \_template/logstash  
[2018-01-29T11:37:54,712][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=\>"LogStash::Outputs::ElasticSearch", :hosts=\>["https://%myURL%:9243"]}  
[2018-01-29T11:37:57,666][INFO][logstash.pipeline] Starting pipeline {:pipeline\_id=\>"main", "pipeline.workers"=\>1, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>5, "pipeline.max\_inflight"=\>125, :thread=\>"#\<Thread:0x3e273668 run\>"}  
[2018-01-29T11:37:59,389][INFO][logstash.inputs.beats] Beats inputs: Starting input listener {:address=\>"0.0.0.0:5044"}  
[2018-01-29T11:37:59,662][INFO][logstash.pipeline] Pipeline started {"pipeline.id"=\>"main"}  
[2018-01-29T11:37:59,910][INFO][org.logstash.beats.Server] Starting server on port: 5044  
[2018-01-29T11:38:00,505][INFO][logstash.agent] Pipelines running {:count=\>2, :pipelines=\>[".monitoring-logstash", "main"]}  
[2018-01-29T11:38:00,803][INFO][logstash.inputs.metrics] Monitoring License OK  
[2018-01-29T11:38:00,804][INFO][logstash.inputs.metrics] Monitoring License OK

---

<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:** [February 5, 2018, 8:34am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/14 "2018-02-05T08:34:19Z")

</div>

Everything looks fine.

What does `_cat/indices?v` show? Is there anything in the Elasticsearch logs?

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [February 6, 2018, 1:03pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/15 "2018-02-06T13:03:11Z")

</div>

> [@warkolm](#):
>
> \_cat/indices?v

green open .monitoring-logstash-6-2018.02.06 sxTKr0EvRIm8nX29aviGqQ 1 1 46592 0 17.6mb 11.8mb

---

<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:** [February 6, 2018, 9:27pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/16 "2018-02-06T21:27:54Z")

</div>

Then there's definitely data in there, are you still seeing nothing?

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [February 8, 2018, 6:06pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/18 "2018-02-08T18:06:26Z")

</div>

![49](https://us1.discourse-cdn.com/elastic/original/3X/b/8/b8be74841948696777c4652f72fe5e17ec86d10a.png)

---

<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 8, 2018, 6:07pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-xpack/117165/19 "2018-03-08T18:07:05Z")

</div>

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