Кибана не выбирает эпоху меток времени

*<% String myURI = request.getAttribute("javax.servlet.forward.request_uri").toString(); %>
                <% String[] split = myURI.split("/"); %>
                <% System.out.println("My url is-->"+ myURI
                        + "  My url splitter length --->"+split.length
                        +"last value"+split[4]);%>
<%--                <jsp:param name="split[4]" value="split[4]" /> --%>
                <c:set var="orgIdForController" value="<%= split[4] %>" />
                <a type="button" class="btn btn-default btn-xs"
                    href="${pageContext.request.contextPath}/supplier/add/${orgIdForController}">
                    <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
                    Add
                </a>
 - List item*
0
задан Arkon 18 January 2019 в 04:52
поделиться

1 ответ

Я предлагаю создать шаблон индекса , который будет использоваться для всех будущих индексов, созданных вашим работником.

PUT _template/my-index-template
{
  "index-patterns": ["myindex*"],          <--- replace your real index name/pattern here
  "mappings": {
    "-": {
      "properties": {
        "key": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "payload": {
          "properties": {}
        },
        "timestamp": {
          "type": "date"                   <-- this is what changed
        }
      }
    }
  }
}
0
ответ дан Val 18 January 2019 в 04:52
поделиться
Другие вопросы по тегам:

Похожие вопросы: