# Logstash-input-azureblob - Only String and Array types are splittable

**URL:** <https://discuss.elastic.co/t/logstash-input-azureblob-only-string-and-array-types-are-splittable/132293>\
**Category:** Logstash\
**Created:** [May 17, 2018, 9:26am UTC](https://discuss.elastic.co/t/logstash-input-azureblob-only-string-and-array-types-are-splittable/132293 "2018-05-17T09:26:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![charan.gandra](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@charan.gandra](https://discuss.elastic.co/u/charan.gandra)\
**Post date:** [May 17, 2018, 9:26am UTC](https://discuss.elastic.co/t/logstash-input-azureblob-only-string-and-array-types-are-splittable/132293/1 "2018-05-17T09:26:32Z")

</div>

Hi,

I am trying to use logstash-input-azureblob plugin to push the NSG flow logs into ES. It was working for a week and I could see an excellent dash board with all the data. But all of sudden it stopped working with the below error.

[2018-05-17T09:23:00,073][WARN][logstash.filters.split] Only String and Array types are splittable. field:[records] is of type = NilClass  
[2018-05-17T09:23:00,074][WARN][logstash.filters.split] Only String and Array types are splittable. field:[records][properties][flows] is of type = NilClass  
[2018-05-17T09:23:00,074][WARN][logstash.filters.split] Only String and Array types are splittable. field:[records][properties][flows][flows] is of type = NilClass  
[2018-05-17T09:23:00,074][WARN][logstash.filters.split] Only String and Array types are splittable. field:[records][properties][flows][flows][flowTuples] is of type = NilClass

Not sure whether something wrong my source data.

here is my logstash.conf file

input {  
azureblob {  
storage\_account\_name =\> "xxxxxx"  
storage\_access\_key =\> "xxxxxxxxxxx"  
container =\> "insights-logs-networksecuritygroupflowevent"  
codec =\> "json"  
file\_head\_bytes =\> 12  
file\_tail\_bytes =\> 2  
type =\> azureblob  
}  
}

filter {  
split { field =\> "[records]" }  
split { field =\> "[records][properties][flows]"}  
split { field =\> "[records][properties][flows][flows]"}  
split { field =\> "[records][properties][flows][flows][flowTuples]"}

mutate{  
split =\> { "[records][resourceId]" =\> "/"}  
add\_field =\> {"Subscription" =\> "%{[records][resourceId][2]}"  
"ResourceGroup" =\> "%{[records][resourceId][4]}"  
"NetworkSecurityGroup" =\> "%{[records][resourceId][8]}"}  
convert =\> {"Subscription" =\> "string"}  
convert =\> {"ResourceGroup" =\> "string"}  
convert =\> {"NetworkSecurityGroup" =\> "string"}  
split =\> { "[records][properties][flows][flows][flowTuples]" =\> ","}  
add\_field =\> {  
"unixtimestamp" =\> "%{[records][properties][flows][flows][flowTuples][0]}"  
"srcIp" =\> "%{[records][properties][flows][flows][flowTuples][1]}"  
"destIp" =\> "%{[records][properties][flows][flows][flowTuples][2]}"  
"srcPort" =\> "%{[records][properties][flows][flows][flowTuples][3]}"  
"destPort" =\> "%{[records][properties][flows][flows][flowTuples][4]}"  
"protocol" =\> "%{[records][properties][flows][flows][flowTuples][5]}"  
"trafficflow" =\> "%{[records][properties][flows][flows][flowTuples][6]}"  
"traffic" =\> "%{[records][properties][flows][flows][flowTuples][7]}"  
}  
convert =\> {"unixtimestamp" =\> "integer"}  
convert =\> {"srcPort" =\> "integer"}  
convert =\> {"destPort" =\> "integer"}  
}

date{  
match =\> ["unixtimestamp" , "UNIX"]  
}  
}

output {

```
stdout {codec => rubydebug}
elasticsearch {
    hosts => ["localhost:9200"]
    index => "nsg-flow-logs"
}

```

}

---

<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:** [June 14, 2018, 9:26am UTC](https://discuss.elastic.co/t/logstash-input-azureblob-only-string-and-array-types-are-splittable/132293/2 "2018-06-14T09:26:33Z")

</div>

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