I can see a good aggregation chart under "Discover" tab http://goo.gl/zzzQ6u, but when I click the "Visualize" and will see a wrong wording bar chart as http://goo.gl/38JhVc.
The X-Axis is supposed to be like "SM-G7102", "HTC One_M8"...
Does anyone know how to display correct wording ?
Your field has been "analyzed" by ElasticSearch (that's its job). You want the non-analyzed version of the string. Logstash makes you one for each field, available as field.raw.
Change your visualization to use that field.
Related
I'm pretty new to kibana and I kind of understood that "query" and "filter" do the same work. There is some difference in the way that cache handles them.
I'm trying to search for all the results that have type "clicks".
If I do it by using "filtering", it works good. All the results I get have type "clicks". However, if I cancel the option for filtering and write "query: clicks" in the query field, it seems that Kibana ignores my request and basically shows me all the results that passed the "filtering".
I don't know if you've taken a look at the explanation of how queries are handled
https://www.elastic.co/guide/en/kibana/3.0/queries.html
Maybe the clicks has to be in quotation marks? I am using kibana 5+ so I am not familiar with this feature.
I want to get event entries by their description (data).
I know how to get the event entry with a certain description, however I want to get an entry whith a description which contains a string (not equals to it).
That, I don't know how to do.
Please help :)
According to my answer here: https://stackoverflow.com/a/34119006/5089204 you should be able to retrieve EventRecords.
Dealing with these events is a quite complex issue... Each event has its own internal structure. The common properties are bundled in EventRecord, but the specific data must be taken from the internal details. Use the ToXml() method of an EventRecord...
In order to get the right events you must define an EventLogQuery. You must know the Provider's name and specify the filter.
Try the following: Open eventvwr and there the Windows-System queue. Right click one event, open the "Details" and choose the "XML-View". Look over different events and you will find, that they are quite differing.
But: You'll find everything you need there: First the "Provider Name" and the "EventId", these two are most important for the `EventLogQuery'.
Now go to the "define a user filter on the current protocoll"-action and type in some values. Then switch to the filter's XML and you'll learn how to define the correct query.
I'm sorry, there is no "easy and general" approach :-)
https://github.com/elastic/kibana/issues/1896
I found some pages for aliases for field names in kibana.
After enabling a feature of 'shortDots:enable', I don't know how to configure in the visualization or discover.
Can anyone elaborate how to set up?
Thanks!
shortDots:enable just shorten a long field name a.long.field.name to a.l.f.name.If you want to set an independent alias to this field, it's impossible until kibana v5.1.0 ( according to official kibana's roadmap ).
You can go to Settings > Advanced and click on the right side of shortDots:enable item and check.
I am trying to create a graph out of a data control that I have created. The graph named myNewGraph is not showing up when I run my website, but when I preview the graph itself it is perfect.
JDeveloper autogenerates the graph, it generates this code, notice the value:
<dvt:comboGraph id="comboGraph2" shortDesc="PriceMetrics"
value="#{bindings.myNewGraph.graphModel}"
subType="COMBINATION_VERT_ABS_2Y" customLayout="CL_NONE>
I have another graph I have created that has a similar code make-up. This one works perfectly.
<dvt:comboGraph id="comboGraph1" shortDesc="PriceMetrics"
value="#{bindings.existingGraph.graphModel}"
subType="COMBINATION_VERT_ABS" customLayout="CL_NONE"
I believe it has something to do with the value, that is causing my myNewGraph to not work. Because when I replace it with the value of existingGraph, the graph displays, but it doesn't display the correct data, since it has the same value.
How do I generate the value in bindings.myNewGraph.graphModel because I believe that it doesn't technically exist.
Are you sure the preview in the editor showed the real graph data ? from the description you give it sounds as if your data isn't queried. I suggest you debug the business service you expose in the data control to see if there is a query executed. From your description it doesn't look like a problem with the binding EL or the graph
Frank
You must import the graph bindings into the webpagePageDef.xml.
i created a multiple checkboxes input helper adapting the code from this http://podscms.org/packages/checkboxradiobutton-yourvalues/
I modified it so that people don't have to hardcode values into the helper; instead values are taken from the column comment field (having a data field for columns would be appreciated in pods 2.0!)
Here is the helper: http://pastebin.com/w0UxDmnG
I encountered two problems, the first of which i already solved:
At thw beginning i enclosed the whole code in a function, to keep clean the namespace (isn'i it the right thing to do?). but i noticed that i do this, when i have two columns with this helper many strange things happen: the second column is blank, doesn't show checkboxes. After the second column with this helper no more columns are shown.Rich editor commands on all textareas don't appear and textareas themselves are non editable.
I suppose is an effect wrapping the code in a function. Unwrapped the code, problems are gone! (i wrote this because it can be helpful to developers out there.
I wanted to add a "Other" text field for comments outside the choices displayed with checboxes (like in google forms, for example). To trigger this "other" ("Altro" in the package i shared), pod creators have to write [] in the comments (eg: foo, bar, cat, []).
I was able to make the input, but, once data is filled in and the pods is saved, the data in the text field get lost. I really have no idea on how to fix this!
I hope my experience, and this helper could help someone, and i hope some could help me to improve it!
(and please someone create a podscms tag!!)
Pods 2.0 solves this kind of issue, it's now built into core as a field type option. Enjoy!