# Kindling - a collection of tools to help with Ignition

**URL:** <https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689>\
**Category:** Ignition\
**Created:** [January 5, 2022, 5:01pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689 "2022-01-05T17:01:36Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [March 2, 2022, 9:34pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/21 "2022-03-02T21:34:08Z")

</div>

You taking feature requests? I often find a time-based accounting graph of log events after optionally filtering them useful. Just a simple count of how frequently messages occur over each span of time.

I already have a Python script which ingests wrapper logs from stdin, looks at the timestamp on each line, sorts them, counts how many occur in each 5 minute bucket, and outputs a CSV of bucket timestamps and counts. I usually then open that up in Excel and graph it. This is neat since I can grep to filter like this:

```auto
grep ForwardTransaction wrapper.log | python time_histogram.py > time.csv

```

But it would be awesome if kindling could make a graph like that with one click from an already filtered log view. 🙂

(If anyone wants my Python script I can share it, I didn’t want to hijack this thread…)

---

<div class="post-metadata">

**Author:** ![ryanjmclaughlin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryanjmclaughlin/32/4318_2.png) [@ryanjmclaughlin](https://forum.inductiveautomation.com/u/ryanjmclaughlin)\
**Post date:** [March 2, 2022, 9:34pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/22 "2022-03-02T21:34:42Z")

</div>

Just used it today for an Ignition crash, very useful. Can we disable the file association that the installer does with \*.log files? I still like those to open by default in VSCode.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 2, 2022, 10:01pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/23 "2022-03-02T22:01:00Z")

</div>

> [@justin.brzozoski](#):
>
> But it would be awesome if kindling could make a graph like that with one click from an already filtered log view. 🙂

Hm, can you show a screenshot of what the end result looks like? It would definitely be possible (I'd just need to pull in JFreeChart, probably), but I'm not sure I have the right idea of what the end product you're looking for is.

> [@ryanjmclaughlin](#):
>
> Can we disable the file association that the installer does with \*.log files? I still like those to open by default in VSCode.

Yeah, that would definitely be possible. I'll probably remove all the automatic file associations from the installer and let anyone set them up themselves as they want to.

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [March 2, 2022, 10:25pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/24 "2022-03-02T22:25:33Z")

</div>

> [@paul-griffith](#):
>
> Hm, can you show a screenshot of what the end result looks like? It would definitely be possible (I’d just need to pull in JFreeChart, probably), but I’m not sure I have the right idea of what the end product you’re looking for is.

So the intermediary output from my script is a CSV like this:

```auto
2022-02-15 15:15:00,0
2022-02-15 15:20:00,0
2022-02-15 15:25:00,1
2022-02-15 15:30:00,3
2022-02-15 15:35:00,2
2022-02-15 15:40:00,1
2022-02-15 15:45:00,2

```

For each 5 minute interval there is a timestamp of when it starts and then a count of how many log entries were in that time period (after filtering).

The graphical output would ideally be like a time trend chart from Perspective/Vision. I've been too lazy to figure out how to get datetimes nicely on my X axis and instead groom them to Unix timestamps, but my graphs look like this from my spreadsheet software:

 ![time_hist_sample](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/7/47c508f2051859a54f8ffed46cbe84592450a37c.png)

From this I can notice spikes, maybe notice patterns, and find interesting time periods to look at the log more closely. Like in this one, I might be curious why I had over 90 log messages in 5 minutes roughly around time 1644675000 (February 12, 2022 2:10:00 PM). (I use [https://www.epochconverter.com/](https://www.epochconverter.com/) quite a lot...)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 2, 2022, 11:16pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/25 "2022-03-02T23:16:00Z")

</div>

Hm, I like that idea a lot. I’ll have to think about _how_ to implement it, but I’ll keep thinking about it.  
I made a formal issue, if you’ve got a Github account feel free to add any thoughts: [Graph-view (log events / time slice) · Issue #44 · paul-griffith/kindling · GitHub](https://github.com/paul-griffith/kindling/issues/44)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 15, 2022, 10:32pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/26 "2022-03-15T22:32:32Z")

</div>

Hey Paul, I have a few requests:

1. Are you able to add an option to remove the timestamp from the log comment? This makes it easier to see repeating errors.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/4/d4de928166763f769556355e5e58e5ffb576d68b.png)

2. It looks like you’re converting the local timestamp into GMT?

E.g.  
from the raw wrapper:

```auto
INFO | jvm 1 | 2022/03/08 19:19:44 | W [g.D.Route] [08:49:44]: Error handling route. route=/fetch/:project/:uuid, route-group=perspective, route-path=/fetch/:project/:uuid

```

where 19:19:14 is the local time (+10:30) and 8:49:44 is GMT time

from Kindling:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/55fe4ffb7c1a92589ae185a632ff6ef6aeb96993.png)

Would you be able to add an option to select between GMT and local?

1. Would you be able to add an “export to CSV” option or to Excel? Just an FYI, in the script I wrote to parse wrappers, I replaced all double quotes with single quotes so that I could wrap each row cell in double quotes, unless of course you use an obscure delimiter. I assume if you export to Excel directly though you wouldn’t need to do that.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 15, 2022, 11:34pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/27 "2022-03-15T23:34:49Z")

</div>

> [@nminchin](#):
>
> Are you able to add an option to remove the timestamp from the log comment? This makes it easier to see repeating errors.

Hmm... Maybe. It should be possible to extract it safely. I don't know offhand whether the timezone ever differs from the actual wrapper log time.

> [@nminchin](#):
>
> It looks like you’re converting the local timestamp into GMT?

Yeah, for lack of a better option. I can put in a timezone selector (that defaults to local); that's probably the easiest thing. [https://github.com/paul-griffith/kindling/issues/47](https://github.com/paul-griffith/kindling/issues/47)

> [@nminchin](#):
>
> Would you be able to add an “export to CSV” option or to Excel? Just an FYI, in the script I wrote to parse wrappers, I replaced all double quotes with single quotes so that I could wrap each row cell in double quotes, unless of course you use an obscure delimiter. I assume if you export to Excel directly though you wouldn’t need to do that.

[https://github.com/paul-griffith/kindling/issues/8](https://github.com/paul-griffith/kindling/issues/8)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 15, 2022, 11:43pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/28 "2022-03-15T23:43:38Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/802f6bb60d208edc7786e7478ccfcec9f92a0591.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/e/beb4eae00a7cb0f4706b86a08c51d0e10aa5da66.png)

Haha nice. My reasoning for this is so that we can more easily track using Excel which issues we've resolved and which we're still looking into, and add additional columns etc.

> [@paul-griffith](#):
>
> Hmm… Maybe. It should be possible to extract it safely. I don’t know offhand whether the timezone ever differs from the actual wrapper log time.

The two timestamps are always different in my wrappers, with the main one that includes the date being local and the one in the log comment being GMT which only has the time part (which is a bit odd, especially with me being +9/10:30 different, the local date is very likely to be different to the GMT date, assuming of course that the gateway timezone is set to local time and not GMT.)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 16, 2022, 3:51pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/29 "2022-03-16T15:51:55Z")

</div>

Split this topic on March 16, 2022, 3:51pm UTC

7 posts were split to a new topic: [Windows Problems](https://forum.inductiveautomation.com/t/windows-problems/57266)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 31, 2022, 12:09am UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/30 "2022-03-31T00:09:48Z")

</div>

v0.2.0:  
Adds log ‘density’ display to scrollbar in log viewer (thanks for the idea, @justin.brzozoski)  
This is an experimental/incubating feature. Currently, logs are aggregated into 2-minute buckets and rendered in the scrollbar:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/5/d5344b744c6eee6437ea455d343deea20142a083.jpeg)

I also changed the wrapper log parsing to remove the extra timestamps (@nminchin). And added a timezone dropdown at the top of the panel.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 31, 2022, 12:40am UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/31 "2022-03-31T00:40:08Z")

</div>

Thanks for adding timezone 🙂 and that density graph looks sweeeet 😍

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [March 31, 2022, 2:04pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/32 "2022-03-31T14:04:20Z")

</div>

By dumb luck, the recent log I grabbed off one of our gateways to try out the new Kindling had one huge spike in density. I didn’t know that going in and was kinda confused why the graph was mostly empty when I opened it.

 ![kindling_sample](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/d/6d569d05a0d962d0b531ad8345a68f6a6e6db972.png)  
That one faint spike 70-80% of the way down just dwarfs everything else:  
 ![excel_sample](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/9/398311f1d33171be8c0a10e18a979342a26820b1.png)

And that spike was from a mostly harmless bug in our code I’m off to go fix now… 🙂

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 31, 2022, 2:23pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/33 "2022-03-31T14:23:42Z")

</div>

> [@justin.brzozoski](#):
>
> By dumb luck, the recent log I grabbed off one of our gateways to try out the new Kindling had one huge spike in density. I didn’t know that going in and was kinda confused why the graph was mostly empty when I opened it.

I've noticed similar things a few times; I might try to get fancier and do a log scale horizontally or cap the absolute magnitude. What I'm doing is basically manually rendering a graph and then scaling it down to fit inside the scrollbar, so when there's lots of detail you can get some _very_ faint lines.  
I'll probably add time-slice selection in the column settings in the next release - maybe 1, 2, 5, 10 minutes or something like that.

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [March 31, 2022, 2:38pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/34 "2022-03-31T14:38:27Z")

</div>

I suspect you also know this, but it’s difficult to tell where the log lines currently in the view exist on the time graph. The scrollbar is linear with number of lines, the time graph is linear with time, and they don’t align. I briefly (instinctively) tried to move the scroll bar on top of the spike, then realized that wasn’t going to work. I’m not sure what simple solutions exist for this issue. Maybe just highlight where the current viewable log lines are on the time graph in a second color? But that would require updating/refreshing your scaled graphic, so that might be more processing than it’s worth.

I don’t know what the good solution is here. Something to ponder for now.

I like Kindling a lot. Thank you for putting it together.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 31, 2022, 2:49pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/35 "2022-03-31T14:49:55Z")

</div>

> [@justin.brzozoski](#):
>
> I don’t know what the good solution is here. Something to ponder for now.

Some tools replace the scrollbar entirely with the mini map:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/7/d7f675afe2e335d20f7d7e80e61a2032e3798efd.png)

Some go side-by-side:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/0/d07ee207daeb25efefe6bd8bce3fd53b21aae380.png)

In each case the map has its own position indicator (not shown in first screenshot).

---

<div class="post-metadata">

**Author:** ![lachguerabdallah](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lachguerabdallah/32/25558_2.png) [@lachguerabdallah](https://forum.inductiveautomation.com/u/lachguerabdallah)\
**Post date:** [May 9, 2022, 8:21am UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/36 "2022-05-09T08:21:42Z")

</div>

@paul-griffith I couldn’t run it on windows

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 9, 2022, 3:24pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/37 "2022-05-09T15:24:47Z")

</div>

Can you provide any more information? The latest published version (0.2.1) works fine on my windows laptop. The tool I’m using, JDeploy, should automatically download an appropriate JDK for you.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 16, 2022, 9:50pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/38 "2022-05-16T21:50:29Z")

</div>

0.2.2 is out now - a minor update to tweak the density display and fix the painfully-slow scroll speed of the logs view.

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [August 10, 2022, 9:59pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/39 "2022-08-10T21:59:14Z")

</div>

Hi @paul-griffith is there a way to use Kindling to help us understand quarantine.xml files?  
I often find things have been quarantined, but opening the file doesn’t help whatsoever as it is all encrypted. I just want to know what table in the database it is failing with!  
Ideally also why it is failing…

Or do i need to get a different file for this analysis?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 10, 2022, 10:50pm UTC](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689/40 "2022-08-10T22:50:55Z")

</div>

The quarantine file is not generally very helpful (it’s missing too much information) but if you zip up the entire folder in the `datacache` directory in the install directory, you can open that zip using the ‘S+F Cache Zip File’ tool:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/5/c5c51290b9d2431352b3014ab79bcc16df94547c.png)

That should hopefully give you some insight into what’s going wrong.

[Previous page](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689.md?page=1)

[Next page](https://forum.inductiveautomation.com/t/kindling-a-collection-of-tools-to-help-with-ignition/54689.md?page=3)
