# Stopping pipeline {:id=\>"main"}

**URL:** <https://discuss.elastic.co/t/stopping-pipeline-id-main/134260>\
**Category:** Logstash\
**Created:** [June 1, 2018, 5:26pm UTC](https://discuss.elastic.co/t/stopping-pipeline-id-main/134260 "2018-06-01T17:26:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavan\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@Pavan\_Kumar1](https://discuss.elastic.co/u/Pavan_Kumar1)\
**Post date:** [June 1, 2018, 5:26pm UTC](https://discuss.elastic.co/t/stopping-pipeline-id-main/134260/1 "2018-06-01T17:26:06Z")

</div>

Hi,  
I am having an issue when starting logstash. I have checked the other solutions in the forum but they dont seem to be related to the issue I am having. Can someone please help? Thank you.

[2018-06-01T12:32:23,733][DEBUG][logstash.filters.grok] replacement\_pattern =\> (?:(?\<![0-9])(?:(?:[0-1]?[0-9]{1,2}|2[0-4][0-9]|25[0-5])...)(?![0-9]))  
[2018-06-01T12:32:23,733][DEBUG][logstash.filters.grok] replacement\_pattern =\> (?:\b(?:[0-9A-Za-z][0-9A-Za-z-]{0,62})(?:.(?:[0-9A-Za-z][0-9A-Za-z-]{0,62}))_(.?|\b))  
[2018-06-01T12:32:23,751][DEBUG][logstash.filters.grok] Grok compiled OK {:pattern=\>"%{IPORHOST:clientip}", :expanded\_pattern=\>"(?IPORHOST:clientip(?:(?:(?:(?:((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?)|(?:(?\<![0-9])(?:(?:[0-1]?[0-9]{1,2}|2[0-4][0-9]|25[0-5])...)(?![0-9]))))|(?:\b(?:[0-9A-Za-z][0-9A-Za-z-]{0,62})(?:\.(?:[0-9A-Za-z][0-9A-Za-z-]{0,62}))_(\.?|\b))))"}  
[2018-06-01T12:32:23,756][INFO][logstash.filters.geoip] Using geoip database {:path=\>"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-geoip-4.3.1-java/vendor/GeoLite2-City.mmdb"}  
[2018-06-01T12:32:23,847][INFO][logstash.pipeline] Starting pipeline {"id"=\>"main", "pipeline.workers"=\>1, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>5, "pipeline.max\_inflight"=\>125}  
[2018-06-01T12:32:23,885][INFO][logstash.pipeline] Pipeline main started  
[2018-06-01T12:32:23,886][DEBUG][logstash.pipeline] Input plugins stopped! Will shutdown filter/output workers.  
[2018-06-01T12:32:23,987][DEBUG][logstash.pipeline] Pushing flush onto pipeline  
[2018-06-01T12:32:23,989][DEBUG][logstash.pipeline] Pushing shutdown {:thread=\>"#\<Thread:0xf1626d2 run\>"}  
[2018-06-01T12:32:23,989][DEBUG][logstash.pipeline] Shutdown waiting for worker thread #Thread:0xf1626d2  
[2018-06-01T12:32:24,027][DEBUG][logstash.filters.grok] closing {:plugin=\>"LogStash::Filters::Grok"}  
[2018-06-01T12:32:24,173][DEBUG][logstash.filters.geoip] closing {:plugin=\>"LogStash::Filters::GeoIP"}  
[2018-06-01T12:32:24,174][DEBUG][logstash.outputs.elasticsearch] closing {:plugin=\>"LogStash::Outputs::ElasticSearch"}  
[2018-06-01T12:32:24,174][DEBUG][logstash.outputs.elasticsearch] Stopping sniffer  
[2018-06-01T12:32:24,383][DEBUG][logstash.outputs.elasticsearch] Stopping resurrectionist  
[2018-06-01T12:32:24,383][DEBUG][logstash.outputs.elasticsearch] Waiting for in use manticore connections  
[2018-06-01T12:32:24,383][DEBUG][logstash.outputs.elasticsearch] Closing adapter #LogStash::Outputs::ElasticSearch::HttpClient::ManticoreAdapter:0x4f45b0b3  
[2018-06-01T12:32:24,384][DEBUG][logstash.pipeline] Pipeline main has been shutdown  
[2018-06-01T12:32:24,390][DEBUG][logstash.agent] Starting puma  
[2018-06-01T12:32:24,390][DEBUG][logstash.agent] Trying to start WebServer {:port=\>9600}  
[2018-06-01T12:32:24,391][DEBUG][logstash.api.service] [api-service] start  
[2018-06-01T12:32:24,483][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2018-06-01T12:32:27,458][DEBUG][logstash.instrument.periodicpoller.os] PeriodicPoller: Stopping  
[2018-06-01T12:32:27,458][DEBUG][logstash.instrument.periodicpoller.jvm] PeriodicPoller: Stopping  
[2018-06-01T12:32:27,459][DEBUG][logstash.instrument.periodicpoller.persistentqueue] PeriodicPoller: Stopping  
[2018-06-01T12:32:27,459][DEBUG][logstash.instrument.periodicpoller.deadletterqueue] PeriodicPoller: Stopping  
[2018-06-01T12:32:27,467][WARN][logstash.agent] stopping pipeline {:id=\>"main"}  
[2018-06-01T12:32:27,468][DEBUG][logstash.pipeline] Closing inputs  
[2018-06-01T12:32:27,468][DEBUG][logstash.pipeline] Closed inputs

/etc/logstash/conf.d/11-iis-log-filter.conf

```
 filter {
  if [type] == "iis" {
grok {
  match => { "message" => "%{TIMESTAMP_ISO8601:log_timestamp} %{WORD:S-SiteName} %{NOTSPACE:S-ComputerName} %{IPORHOST:S-IP} %{WORD:CS-Method} %{URIPATH:CS-URI-Stem} (?:-|\"%{URIPATH:CS-URI-Query}\") %{NUMBER:S-Port} %{NOTSPACE:CS-Username} %{IPORHOST:C-IP} %{NOTSPACE:CS-Version} %{NOTSPACE:CS-UserAgent} %{NOTSPACE:CS-Cookie} %{NOTSPACE:CS-Referer} %{NOTSPACE:CS-Host} %{NUMBER:SC-Status} %{NUMBER:SC-SubStatus} %{NUMBER:SC-Win32-Status} %{NUMBER:SC-Bytes} %{NUMBER:CS-Bytes} %{NUMBER:Time-Taken}"}
}
  }
}

```

30-elasticsearch-output.conf

```
output {
  elasticsearch {
    hosts => ["localhost:9200"]
    sniffing => true
    manage_template => false
    index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
    document_type => "%{[@metadata][type]}"
  }
}
```

---

<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:** [June 3, 2018, 8:25pm UTC](https://discuss.elastic.co/t/stopping-pipeline-id-main/134260/2 "2018-06-03T20:25:17Z")

</div>

And what input plugins are you using?

---

<div class="post-metadata">

**Author:** ![Pavan\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@Pavan\_Kumar1](https://discuss.elastic.co/u/Pavan_Kumar1)\
**Post date:** [June 4, 2018, 1:28pm UTC](https://discuss.elastic.co/t/stopping-pipeline-id-main/134260/3 "2018-06-04T13:28:06Z")

</div>

filebeat is the agent I am using. I am new to this. thanks.

---

<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:** [June 4, 2018, 1:31pm UTC](https://discuss.elastic.co/t/stopping-pipeline-id-main/134260/4 "2018-06-04T13:31:49Z")

</div>

Yes, but you do have a beats input in your Logstash configuration don't you?

---

<div class="post-metadata">

**Author:** ![Pavan\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@Pavan\_Kumar1](https://discuss.elastic.co/u/Pavan_Kumar1)\
**Post date:** [June 4, 2018, 1:41pm UTC](https://discuss.elastic.co/t/stopping-pipeline-id-main/134260/5 "2018-06-04T13:41:38Z")

</div>

got it thank you for the direction i was missing the input.

```
input {
  beats {
    port => 5443
    ssl => true
    ssl_certificate => "/etc/pki/tls/certs/logstash-forwarder.crt"
    ssl_key => "/etc/pki/tls/private/logstash-forwarder.key"
  }
}

```

Adding this fixed it. But somehow logstash still hasnt picked up anything from the iis server. Which check on that. Thanks again.

---

<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 2, 2018, 1:41pm UTC](https://discuss.elastic.co/t/stopping-pipeline-id-main/134260/6 "2018-07-02T13:41:41Z")

</div>

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