# Newbie - Logstash appears to be losing logs maybe cause by my Filter

**URL:** <https://discuss.elastic.co/t/newbie-logstash-appears-to-be-losing-logs-maybe-cause-by-my-filter/120714>\
**Category:** Logstash\
**Created:** [February 20, 2018, 7:08pm UTC](https://discuss.elastic.co/t/newbie-logstash-appears-to-be-losing-logs-maybe-cause-by-my-filter/120714 "2018-02-20T19:08:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hassanbabaie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hassanbabaie/32/27955_2.png) [@hassanbabaie](https://discuss.elastic.co/u/hassanbabaie)\
**Post date:** [February 20, 2018, 7:08pm UTC](https://discuss.elastic.co/t/newbie-logstash-appears-to-be-losing-logs-maybe-cause-by-my-filter/120714/1 "2018-02-20T19:08:17Z")

</div>

My setup:

Azure NSG Flowlogs -\> Azure Storage -\> Logstash with Azure Plugin -\> Graylog

As far as I can tell the Azure Logstash plugin is pulling all the logs however I think my filter is then causing some of these to be dropped.

Below is a node stat report and while i would expect a split to increase the number of logs I would not expect the other filters to reduce in number (IN/OUT by 30%)? Is this a bad assumption?

```
indent preformatted text by 4 spaces 

```

}[root@USA1042LV000914 scalr]# curl -XGET 'localhost:9600/\_node/stats/pipelines/main?pretty'  
{  
"host" : "USA1042LV000914",  
"version" : "6.1.3",  
"http\_address" : "127.0.0.1:9600",  
"id" : "0f2a3d5d-7238-4446-93c7-7ae7c061c387",  
"name" : "USA1042LV000914",  
"pipelines" : {  
"main" : {  
"events" : {  
"duration\_in\_millis" : 298425,  
"in" : 14491,  
"out" : 174414,  
"filtered" : 174414,  
"queue\_push\_duration\_in\_millis" : 117  
},  
"plugins" : {  
"inputs" : [ {  
"id" : "4c6a0d903c9c9e07d122e2f9d050e2206b14cf121e353f9cc342b704415108e6",  
"events" : {  
"out" : 2070,  
"queue\_push\_duration\_in\_millis" : 0  
},  
"name" : "azureblob"  
}, {  
"id" : "c85cd2c4eb1fcd60caa66ed5b0703fb6230af02f35f4d5fd7d04033eaab1222b",  
"events" : {  
"out" : 5693,  
"queue\_push\_duration\_in\_millis" : 54  
},  
"name" : "azureblob"  
}, {  
"id" : "0e01877204de964a6ccded9fcdd03226f02a64ca08605954e9d384bff33a1dd0",  
"events" : {  
"out" : 6728,  
"queue\_push\_duration\_in\_millis" : 63  
},  
"name" : "azureblob"  
} ],  
"filters" : [ {  
"id" : "c75e1e7bc2a261822d83a6311d966a4ecaaf012e9c8bb1ab4ec68207d7ed0aa5",  
"events" : {  
"duration\_in\_millis" : 5626,  
"in" : 31892,  
"out" : 23816  
},  
"name" : "split"  
}, {  
"id" : "2068f62b66638423cca18067192b6e579e971ea340f492771c1e98d210efd63f",  
"events" : {  
"duration\_in\_millis" : 24318,  
"in" : 47632,  
"out" : 159923  
},  
"name" : "split"  
}, {  
"id" : "aafa4b6167620c4ce9ff08d9d4e3ac312990a8d9596b99444828a5efdc06eb2e",  
"events" : {  
"duration\_in\_millis" : 3961,  
"in" : 41217,  
"out" : 23816  
},  
"name" : "split"  
}, {  
"id" : "b5a57f20740ce51a15f2b652a15525c0fd6946bcc560c05ac290b3b868bef371",  
"events" : {  
"duration\_in\_millis" : 6818,  
"in" : 14491,  
"out" : 17401  
},  
"name" : "split"  
}, {  
"id" : "f76b29a531f68782bab9dd5a13b8cf225f0a40a27a831704058ae0c0e3e01bfd",  
"events" : {  
"duration\_in\_millis" : 186361,  
"in" : 183739,  
"out" : 159923  
},  
"name" : "mutate"  
}, {  
"id" : "d08a08b60bec9f042df0a62d62e4ea560398dd1c4caebbaeccf846fcbeee692f",  
"events" : {  
"duration\_in\_millis" : 1567,  
"in" : 159923,  
"out" : 159923  
},  
"matches" : 159923,  
"name" : "date"  
} ],  
"outputs" : [ {  
"id" : "1c6ce69269f9f1ef0dddfb6e443312586d6d8878ba532b99cd8042321d51b706",  
"events" : {  
"duration\_in\_millis" : 7122,  
"in" : 159923,  
"out" : 159923  
},  
"name" : "udp"  
} ]  
},  
"reloads" : {  
"last\_error" : null,  
"successes" : 0,  
"last\_success\_timestamp" : null,  
"last\_failure\_timestamp" : null,  
"failures" : 0  
},  
"queue" : {  
"type" : "memory"  
}  
}  
}

---

<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 20, 2018, 7:20pm UTC](https://discuss.elastic.co/t/newbie-logstash-appears-to-be-losing-logs-maybe-cause-by-my-filter/120714/2 "2018-03-20T19:20:51Z")

</div>

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