What do the Icons in Kibana fields mean? - elasticsearch

What do the icons mean: ?, t, #?
Noticed that I can only use fields with a t icon in my visualizations

# means it's a numeric field
t means it's a text field
? means that the type is unknown because the index patterns needs to be refreshed.
Go to Stack Management > Index patterns, pick your index pattern and click the "Refresh" button at the top right, then all your fields will be properly identified.

Related

Can not add custom field to Y-Axis Average aggregation for visualization

When I try to add Bar Chart visualization, I cannot select any custom field for my messages for Average aggregation (like: "my_custom_field"). Messages are logged and contain this field. How to do this?
I have a strong suspicion that your "messages" field is a string. Average aggregation works on numbers.
I checked this in my own setting and I couldn't run Average on "messages" with default settings, but I could run it on Unique Count.
I don't understand why, but when I create visualization via Visualizations tab/Add new/Vertical bar chart, fields are not present.
But, I can make visualization by:
[OPTIONAL, probably didn't help] Go to Management/Index Patterns and click Refresh image button in right top corner. This will create mapping types for fields that are new since index creation (this was in my case). Such field can be recognized when before its name there is "?", means no type (e.g. # means field has type, like on the image below).
Go to Discover tab and select your field on the left, than click Visualize -> that will allow to select Average aggregate with your field.
This is very inconvenient, but works.

Colorize row based on a field value on kibana 4

Is there any way to colorize or, in general, apply styles to results table on Kibana 4? I'm talking about the discover result table.
Basically, our logs have a level field and we want to add colors on the result table based on its value, so they can be easily recognized. E.g: Error messages should be red, warning messages yellow.
I know elastic search has some highlighting capabilities but know do not how to use them with kibana
Update:
You can now color Strings easily:
log into kibana
go to Management (settings)
click "index patterns" and choose your pattern
click on Severity (or whatever name your logs have there), then on edit (you can also do it for a service or other columns)
in "Format" choose 'Color', Then in 'Pattern' write INFO or a pattern you would like and choose the corresponding color
Seems that custom formatters is the way to go. I.e: writing a new component using JavaScript and Html
This example creates a formatter to highlight text. It's not exactly what is being asked, but it should work as base.

How do I link two fields to the same table in ServiceNow?

Forgive my ignorance for the proper terminology, but let me try to explain what I want to happen.
I have two custom fields on the incident table/form. I have created a custom table with 2 columns. I have figured out how to reference the table in one of the fields, allowing me to search the entries. Now I want to link the field selection to the other field via the custom table I made. When I make a selection in field A, I want field B to populate with the other column on the same row Field A pulled from in the first place. How would I do that?
Sounds like you want what's commonly referred to as a "derived field" or a dot-walked field.
You have a reference field which stores the reference to the other table, and want a second field on the form that shows another field on that referenced table. You don't actually need to create a new element, you just need to add a dot-walked form element.
Once you have the reference field added, go to Personalize/Configure the form layout.
In the slushbucket of available fields, you'll notice that reference
fields show up in green text with a little [+] next to them.
Select your reference field and a little button will show up between the two
lists, just above the "Add" button
Click that button and the left-side available fields will show the fields available on that reference field's table.
From here, select that second field that you want to display on your form, and bring it over to the right side where you want it.

What is the purpose of "analysed" button in Kibana 4?

Description:
​I have set up Kibana 4 and also configured an index for analytics. So in the discover page,of Kibana,I can see my index name and the corresponding fields in the index there. To the right side of the fields panel,there is a settings icon. When I click that,four options are shown to me namely analyzed,index,type and Field Name. I know the purpose of index,type and Field Name but Im confused,with what the "analyzed" option stands for. On clicking the drop down under the analyzed section there are options 1. any,2.yes 3.no. Can any body tell what purpose does "analyzed" option have here.
Edit : The screenshots are given in this link
![1] http://imgur.com/a/H31GQ
An analyzed field in ES, it is a field that is processed into tokens and indexed in that way. You can read more about analyzers in the ES documentation.
This dropdown is used to get the analyzed fields if you select yes, the not_analyzed if you select no and everything if you select any.
When we create an index in elasticsearch,we also have a lot of fields accompanying it. In the "discover" tab,under the "fields" section,we can see each and every field in the selected index. What happens when we set the "analysed" dropdown to "yes" is that the fields which have undergone complete analysis by the elasticsearch analyzers.
An example for an index named "restaurants" is shown in the fig below. Here the blue box has all the fields which have undergone analysis.
You can see the number of fields getting reduced as we select the "yes" in the "analysed" dropdown. These are the fields which are analysed. Now on clicking one of those fields,another dropdown comes in with the names and the percentage values of the contents in that particular field. Here we can manipulate the contents of hits by including or excluding that field element by clicking the "+" or "-" magnifying glass(box 3) towards the right of the element(box 2) as shown below.
Pressing the "+" button(box 1),will show only the results containing that particular element of that field, from the hits response. You can see the resulting JSON data, by pressing the arrow button just below (box 2) the "_source" as in figure 3.

Storyboards: what is the "Index Row Limit" field?

In Storyboards, TableViews have an attribute field named "Index Row Limit". The default is 2. I cannot find any information on what this is. A Google search returns a single page of results and half of the results are non-English. Does anyone know what this field is for?
It's related to the sectionIndexMinimumDisplayRowCount property on UITableView. Basically, if you have less than that many rows in the table, any section index will be hidden. (The section index is the bar on the right hand side of the table that usually has the letters A-Z, which lets you quickly jump through the list.)
Update:
I've verified that setting the "Index Row Limit" in the .xib or .storyboard does indeed change a value in the underlying XML titled sectionIndexMinimumDisplayRowCount, so it's clear that's what this property is supposed to be related to. However, it also appears that there's a bug in UITableView (at least as of iOS 5.1), such that the setting in Interface Builder isn't actually being properly set on the object when it is unarchived at runtime. Time to file a radar!
This value is used to decide when to show the special index list on the right side of table view.If the row count(total number of rows) of table view is greater than or equal to this number the index list on right side of table view is shown else not shown.
Here's the UIKit Documentation:
open var sectionIndexMinimumDisplayRowCount: Int // show special section index list on right when row count reaches this value. default is 0

Resources