Skip to content

Errors uploading dashboard to Openshift 3.11 #16

@MastanaGuru

Description

@MastanaGuru

I am trying to upload the kibana5_traffic.json to OCP 3.11 but getting errors
In openshift the index pattern is project., I changed logstash- to project.* in the json and uploaded the file. In OCP we have EFK stack and Kibana version is 5.6.16.

In liberty(20.0.0.8) server.xml added below lines

<accessLogging logFormat='%R{W} %u %{my_cookie}C %s'/>
 <logging consoleSource="message,trace,accessLog,audit" consoleFormat="json" jsonAccessLogFields="logFormat"/>

In Kibana, on refresh in Management->Index Patterns -> project.* I see only below fields

ibm_datetime  					
ibm_datetime.raw				
ibm_messageId 				
ibm_messageId.raw 				
ibm_sequence  	
ibm_sequence.raw 	
ibm_serverName 			
ibm_serverName.raw
ibm_threadId
ibm_threadId.raw
ibm_userDir
ibm_userDir.raw 

When I upload the json dashboard, I see below errors in Kibana

Saved Objects: Importing Liberty Message (liberty_messageGraph) failed: Could not locate that index-pattern-field (id: loglevel.keyword)
Saved Objects: Importing Liberty Access Log Response Code (liberty_accessLogResponseCodeGraph) failed: Could not locate that index-pattern-field (id: ibm_responseCode)
Saved Objects: Importing Liberty Access Log Elapsed Time (liberty_accessLogElapsedTimeGraph) failed: Could not locate that index-pattern-field (id: ibm_elapsedTime)
Saved Objects: Importing Liberty Access Log Average Elapsed Time (liberty_accessLogAverageElapsedTimeGraph) failed: Could not locate that index-pattern-field (id: ibm_elapsedTime)
Saved Objects: Importing Liberty Slow Hits (liberty_slowHits) failed: Could not locate that index-pattern-field (id: ibm_elapsedTime)
Saved Objects: Importing Liberty Slowest URLs (liberty_slowestURLs) failed: Could not locate that index-pattern-field (id: ibm_uriPath.keyword)
Saved Objects: Importing Liberty Trace (liberty_traceGraph) failed: Could not locate that index-pattern-field (id: loglevel.keyword)
Saved Objects: Importing Liberty Top URLs (liberty_topURLs) failed: Could not locate that index-pattern-field (id: ibm_uriPath.keyword)
Saved Objects: Importing Liberty Servers (Traffic) (AWYhv5KDN1XQo0uIQwxD) failed: Could not locate that index-pattern-field (id: ibm_serverName.keyword)
Saved Objects: Importing Liberty User Directories (Traffic) (AWYhvzNUN1XQo0uIQwwV) failed: Could not locate that index-pattern-field (id: ibm_userDir.keyword)
Saved Objects: Importing Liberty Access Log Metrics (liberty_accessLogMetrics) failed: Could not locate that index-pattern-field (id: ibm_elapsedTime)
Saved Objects: Importing Liberty Hosts Table (Traffic) (AWYhvu0tN1XQo0uIQwv4) failed: Could not locate that index-pattern-field (id: host.keyword)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions