New user experience #131
Replies: 14 comments
-
Hi, Thanks a lot for your feedback, it is very much appreciated. With regard to the data you're trying to visualize using the CSV adapter with the following format:
You will not be able to parse it properly as CSV because it does not have a single character that can be declared unambiguously as a delimiter; you could set the space char to be the delimiter, but then you'd need to use quotes to materialize the time stamp boundaries, as such:
Alternatively, use any other character to separate the time data for the other field.
I am not sure what you mean here, could you please give more details, and/or add a screenshot? When looking for a test data source just to try out the navigation features in binjr, the quickest way is to download and install Demo Adapter; it contains some ready-to-use sample data sources: Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Update: I've just updated my laptop to Fedora 37, and now when I type in a path name and click OK, it appears to load, but there's no log stream to load into a new worksheet....? Here's the console log:
|
Beta Was this translation helpful? Give feedback.
-
When you click on “Browse”, you should be presented with two choices: “Zip file” or “Folder”. If you chose “Folder”, what you get is a directory picker, not a file picker. I assume that's what happens here, which explains why you can't select files. I'm surprised though that the files are visible at all (even if grayed out) — maybe there's some GTK option which causes that? Anyway, the expected workflow here is that the user selects either a directory or a zip file, but not directly a log file. Only after that, the user can drag-and-drop individual files from that directory or zip file. I guess the UI could be improved, but I'm not sure how… |
Beta Was this translation helpful? Give feedback.
-
Oh, I see; I didn't realize that it was browsing for directories, I just thought that I didn't want to examine a zip file, and I thought the only other option was just an interesting wording of "open individual log file". Maybe add an option to load just one file, or put some text in the dialog box or a tooltip explaining that individual files can't be opened, only directories. I'm not clear why that is so, but that's the way it's designed. 😄 |
Beta Was this translation helpful? Give feedback.
-
Ok, I've opened my /var/log directory, and now I can load those files that are formatted in syslog (Mon day hh:mm:ss) format, but there are a lot of files that have different timestamp formats that can't be read. Also, I searched the main (
I don't see a way to view the next line(s), which is leaving me in suspense! :-/ |
Beta Was this translation helpful? Give feedback.
-
Ok, searching for the timestamp "Feb 20 19:37:" showed the surrounding lines. Oddly, searching for "Feb 20 19:3" didn't match, so I guess you're using Lucene. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Yes, I can understand this might not be obvious at first glance. At some point I started to work on a single file selection mode in the dialog, but I got side tracked and never finished it, but I do agree offering that option would help new users as it is the least surprising. |
Beta Was this translation helpful? Give feedback.
-
I'm a hardcore Last night I upgraded my system, and noticed Alternatively, there's the kind of indexing and compression done by specialized tools like CLP, although if you go too far you end up with bloated try-to-please-everyone tools, <names withheld to protect the guilty!> :-) I haven't read much of the manual yet; is there a way to use the logs to annotate time series graphs, assuming there's not too many log entries? |
Beta Was this translation helpful? Give feedback.
-
It's not really Lucene per se that makes it hard to look for exact substrings, but rather the way field tokenization is generally configured; so for instance to match everything that contains "Feb 20 19:3", you could use its regex syntax, something like Changing the default tokenization to satisfy that particular need would be detrimental to the more common case of looking for a single word. But that gave me an idea, though: we could add an extra field that index the whole line as single token to perform regex (or any other sub query that would benefit from that). @Arkanosis w.d.y.t? If find how to do a prefix handler in lucene, we could even take out the ceremonial |
Beta Was this translation helpful? Give feedback.
-
I'd suspect that putting the whole line into a token would slow things down a lot. Lucene would index the regex field, which on the plus side would make searching for a prefix of the field fast, but on the minus side, the index would be of no use for regular expression searching. It'd be better to break the search string (possibly regular expressions, if they aren't too complicated) into tokens, find matching records, and then search for the literal string or regex in the matched lines. If some joker like me has entered a partial token, maybe ignore tokens that don't match anything (e.g. The |
Beta Was this translation helpful? Give feedback.
-
You raised some interesting points that are very relevant to a discussion about what approach to log content tokenization we should adopt. So I took the liberty to paste your last comment there and I propose that we continue discussing that topic over there if you are interested, rather than in this issue where the finer points made might become lost once the issue is closed. |
Beta Was this translation helpful? Give feedback.
-
Hello @PenelopeFudd
I was therefore about to close this issue, but I given that Github has now an option to convert an issue into a discussion, I decided to do that instead, as it feels a lot of what has been said in this thread could be useful to others and having that available as an open discussion is maybe more discoverable than in a closed issue. |
Beta Was this translation helpful? Give feedback.
-
Hi; first time user of Binjr here.
Love the website, it looks sharp. In fact it looked so professional that I half-expected to see "click here to purchase the Pro version of Binjr"; glad not to.
Installin Binjr on Fedora was nice and straightforward, no issues there.
I did run into one problem. I've got an arduino emitting time and temperature measurements once a second, and I'm writing it to a file named
nohup.out
in this format:Trying to load + view the data is not working out:
mega.log
, it's still greyed outI found an example CSV file in one of the Github issues, and it worked:
I guess I'll reformat my data to look more like a real CSV file, and then it should work.
Suggestions:
It would be a good idea to tell the user why a file can't be loaded (i.e. why it's greyed out), and what the program is looking for.
Maybe have tooltips for fields and other widgets describing them in more detail?
If you could put a question-mark button in a consistent corner on all application screens, which link to a wiki page with a screenshot of the page and explanations of what it needs for input, that'd be awesome!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions