Skip to content

Instantly share code, notes, and snippets.

@bkamapantula
Created July 21, 2020 03:04
Show Gist options
  • Save bkamapantula/8596921029e69a43aa7898243090f610 to your computer and use it in GitHub Desktop.
Save bkamapantula/8596921029e69a43aa7898243090f610 to your computer and use it in GitHub Desktop.
Working with Kibana, the first time

Kibana with nginx logs

I wanted to explore Kibana to analyze nginx logs. Finding the right place to work with data seemed unnecessarily complex.

I had to visit Visualization under Machine Learning to upload a file!

  1. Cloning sample dataset for quick views is easy.
  2. Importing data files into Kibana is a breeze.
  3. We capture timestamp in nginx logs. But Kibana seemed to have trouble recognizing it and picking a right timestamp format.

My input file had timestamps formatted as 1594687055727.0 resulting in Kibana making it a double type instead of integer. After trying few formats (which didn't work) I re-formatted the column as an integer. Kibana then picked it up as a UNIX_MS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment