# Custom format isn't supported

**URL:** <https://discuss.elastic.co/t/custom-format-isnt-supported/41083>\
**Category:** Elasticsearch\
**Created:** [February 5, 2016, 4:22pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083 "2016-02-05T16:22:47Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![arizonawayfarer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arizonawayfarer/32/44846_2.png) [@arizonawayfarer](https://discuss.elastic.co/u/arizonawayfarer)\
**Post date:** [February 5, 2016, 4:22pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/1 "2016-02-05T16:22:47Z")

</div>

Howdy everyone,

I'm getting an exception in elasticsearch when trying to view logs in kibana. The index is reporting green in /\_cat/indices and shard allocation looks good.. I haven't had a problem with this particular index before, so I'm not sure what the issue might be, or how I might track the issue down?

`[2016-02-05 09:14:32,407][INFO][rest.suppressed] /exchange*/_field_stats Params: {level=indices, index=exchange*} java.lang.UnsupportedOperationException: custom format isn't supported at org.elasticsearch.action.fieldstats.FieldStats$Text.valueOf(FieldStats.java:415) at org.elasticsearch.action.fieldstats.FieldStats$Text.valueOf(FieldStats.java:379) at org.elasticsearch.action.fieldstats.FieldStats.match(FieldStats.java:158) at org.elasticsearch.action.fieldstats.TransportFieldStatsTransportAction.newResponse(TransportFieldStatsTransportAction.java:122) at org.elasticsearch.action.fieldstats.TransportFieldStatsTransportAction.newResponse(TransportFieldStatsTransportAction.java:54) at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction.finishHim(TransportBroadcastAction.java:229) at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction.onOperation(TransportBroadcastAction.java:194) at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction$1.handleResponse(TransportBroadcastAction.java:174) at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction$1.handleResponse(TransportBroadcastAction.java:161) at org.elasticsearch.transport.netty.MessageChannelHandler.handleResponse(MessageChannelHandler.java:185) at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:138) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462) at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443) at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)`

Kibana is reporting a similar issue..

```
Error: [unsupported_operation_exception] custom format isn't supported
at respond (http://di-logui-01:5601/bundles/kibana.bundle.js:76820:16)
at checkRespForFailure (http://di-logui-01:5601/bundles/kibana.bundle.js:76783:8)
at http://di-logui-01:5601/bundles/kibana.bundle.js:75401:8
at processQueue (http://di-logui-01:5601/bundles/commons.bundle.js:42358:29)
at http://di-logui-01:5601/bundles/commons.bundle.js:42374:28
at Scope.$eval (http://di-logui-01:5601/bundles/commons.bundle.js:43602:29)
at Scope.$digest (http://di-logui-01:5601/bundles/commons.bundle.js:43413:32)
at Scope.$apply (http://di-logui-01:5601/bundles/commons.bundle.js:43710:25)
at done (http://di-logui-01:5601/bundles/commons.bundle.js:38159:48)
at completeRequest (http://di-logui-01:5601/bundles/commons.bundle.js:38357:8)`
```

---

<div class="post-metadata">

**Author:** ![mayzak](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mayzak](https://discuss.elastic.co/u/mayzak)\
**Post date:** [February 6, 2016, 9:40pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/2 "2016-02-06T21:40:17Z")

</div>

Seeing the same thing with Kibana 4.4 and Elasticsearch 2.2. Was woking fine with a specific time period set, now trying to use the time picker and see the error everytime.

---

<div class="post-metadata">

**Author:** ![veve90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/veve90/32/6517_2.png) [@veve90](https://discuss.elastic.co/u/veve90)\
**Post date:** [February 26, 2016, 10:54am UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/3 "2016-02-26T10:54:29Z")

</div>

The same here, Elasticsearch 2.2, Kibana 4.4...

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [March 11, 2016, 6:40pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/4 "2016-03-11T18:40:10Z")

</div>

Could any of you capture the payload for the request that is returning a 500?

---

<div class="post-metadata">

**Author:** ![Carlos\_Vega\_Moreno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_vega_moreno/32/3773_2.png) [@Carlos\_Vega\_Moreno](https://discuss.elastic.co/u/Carlos_Vega_Moreno)\
**Post date:** [March 16, 2016, 12:07pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/5 "2016-03-16T12:07:18Z")

</div>

Did you solve it?

---

<div class="post-metadata">

**Author:** ![mayzak](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mayzak](https://discuss.elastic.co/u/mayzak)\
**Post date:** [March 23, 2016, 10:12pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/6 "2016-03-23T22:12:16Z")

</div>

So I was able to solve this by upgrading both ES and Kibana to the latest versions and making sure to clear my cache and reload my mappings in Kibana. Not sure if that is possible for others but that's how I solved it.

---

<div class="post-metadata">

**Author:** ![rushah](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@rushah](https://discuss.elastic.co/u/rushah)\
**Post date:** [April 26, 2016, 12:41am UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/7 "2016-04-26T00:41:17Z")

</div>

Same error as others in Kibana:

ElasticSearch version 2.2.2:  
Kibana version: 4.4.2

Error: [unsupported\_operation\_exception] custom format isn't supported  
at respond ([http://localhost:5601/bundles/kibana.bundle.js?v=9732:76349:16](http://localhost:5601/bundles/kibana.bundle.js?v=9732:76349:16))  
at checkRespForFailure ([http://localhost:5601/bundles/kibana.bundle.js?v=9732:76312:8](http://localhost:5601/bundles/kibana.bundle.js?v=9732:76312:8))  
at [http://localhost:5601/bundles/kibana.bundle.js?v=9732:74930:8](http://localhost:5601/bundles/kibana.bundle.js?v=9732:74930:8)  
at processQueue ([http://localhost:5601/bundles/commons.bundle.js?v=9732:42357:29](http://localhost:5601/bundles/commons.bundle.js?v=9732:42357:29))  
at [http://localhost:5601/bundles/commons.bundle.js?v=9732:42373:28](http://localhost:5601/bundles/commons.bundle.js?v=9732:42373:28)  
at Scope.$eval ([http://localhost:5601/bundles/commons.bundle.js?v=9732:43601:29](http://localhost:5601/bundles/commons.bundle.js?v=9732:43601:29))  
at Scope.$digest ([http://localhost:5601/bundles/commons.bundle.js?v=9732:43412:32](http://localhost:5601/bundles/commons.bundle.js?v=9732:43412:32))  
at Scope.$apply ([http://localhost:5601/bundles/commons.bundle.js?v=9732:43709:25](http://localhost:5601/bundles/commons.bundle.js?v=9732:43709:25))  
at done ([http://localhost:5601/bundles/commons.bundle.js?v=9732:38158:48](http://localhost:5601/bundles/commons.bundle.js?v=9732:38158:48))  
at completeRequest ([http://localhost:5601/bundles/commons.bundle.js?v=9732:38356:8](http://localhost:5601/bundles/commons.bundle.js?v=9732:38356:8))

---

<div class="post-metadata">

**Author:** ![111118](https://avatars.discourse-cdn.com/v4/letter/1/65b543/32.png) [@111118](https://discuss.elastic.co/u/111118)\
**Post date:** [May 13, 2016, 8:49am UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/8 "2016-05-13T08:49:55Z")

</div>

Same error as others in Kibana:

ElasticSearch、logstash version 2.3.1:  
Kibana version: 4.5.0

It is reproduced every time new data(without new format just new data in tomorrow) is added to the system

Though it is a warning, my kibana cannot be used unless I clean all data and restart it:  
[2016-05-13 16:46:32,261][WARN][rest.suppressed] /logstash-_/\_field\_stats Params: {index=logstash-_, level=indices}  
java.lang.UnsupportedOperationException: custom format isn't supported  
at org.elasticsearch.action.fieldstats.FieldStats$Long.valueOf(FieldStats.java:272)  
at org.elasticsearch.action.fieldstats.FieldStats$Long.valueOf(FieldStats.java:236)  
at org.elasticsearch.action.fieldstats.FieldStats.match(FieldStats.java:176)  
at org.elasticsearch.action.fieldstats.TransportFieldStatsTransportAction.newResponse(TransportFieldStatsTransportAction.java:122)  
at org.elasticsearch.action.fieldstats.TransportFieldStatsTransportAction.newResponse(TransportFieldStatsTransportAction.java:54)  
at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction.finishHim(TransportBroadcastAction.java:243)  
at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction.onOperation(TransportBroadcastAction.java:208)  
at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction$1.handleResponse(TransportBroadcastAction.java:188)  
at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction$1.handleResponse(TransportBroadcastAction.java:175)  
at org.elasticsearch.transport.TransportService$DirectResponseChannel.processResponse(TransportService.java:819)  
at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:803)  
at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:793)  
at org.elasticsearch.transport.DelegatingTransportChannel.sendResponse(DelegatingTransportChannel.java:58)  
at org.elasticsearch.transport.RequestHandlerRegistry$TransportChannelWrapper.sendResponse(RequestHandlerRegistry.java:134)  
at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$ShardTransportHandler.messageReceived(TransportBroadcastAction.java:282)  
at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$ShardTransportHandler.messageReceived(TransportBroadcastAction.java:278)  
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:75)  
at org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:376)  
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
at java.lang.Thread.run(Thread.java:745)

---

<div class="post-metadata">

**Author:** ![moni15moni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/moni15moni/32/42311_2.png) [@moni15moni](https://discuss.elastic.co/u/moni15moni)\
**Post date:** [September 23, 2016, 1:55pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/9 "2016-09-23T13:55:30Z")

</div>

I Got the screen by using the following configurations  
Elasticsearch version-2.4.0  
Kibana version - 4.6.1  
Marvel/Marvel-agent version - 2.4.0\<img

---

<div class="post-metadata">

**Author:** ![rbellamy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rbellamy/32/9534_2.png) [@rbellamy](https://discuss.elastic.co/u/rbellamy)\
**Post date:** [October 27, 2016, 11:06pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/10 "2016-10-27T23:06:59Z")

</div>

Did anyone else get this resolved without doing an upgrade?

---

<div class="post-metadata">

**Author:** ![greatyao](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@greatyao](https://discuss.elastic.co/u/greatyao)\
**Post date:** [November 20, 2016, 2:21pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/11 "2016-11-20T14:21:50Z")

</div>

goto dir optimize\bundles and todo line 76349 in file kibana.bundle.js

if (errors[status]) {  
**;//err = new errors[status](parsedBody && parsedBody.error, errorMetadata);**  
} else {  
err = new errors.Generic('unknown error', errorMetadata);  
}

---

<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 5, 2017, 10:05pm UTC](https://discuss.elastic.co/t/custom-format-isnt-supported/41083/12 "2017-07-05T22:05:35Z")

</div>


