Cities: Skylines

Cities: Skylines

28 ratings
Integrator: Log Generator
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
20.992 KB
29 Sep, 2019 @ 12:46am
23 Jul, 2022 @ 2:28am
7 Change Notes ( view )

Subscribe to download
Integrator: Log Generator

Description
Integrator is a mod that generates logs from your cities' stats to be processed and ingested by a log correlation engine, like Splunk.

Integrator generates log files in a key : pair format, for over a dozen different categories, including:

- Cash Balance
- Energy, garbage, sewage and water levels
- Population count
- Traffic efficiency
- Public transport line usage

By default, Integrator logs to C:\temp\citiesout.txt. This can be changed in the mod settings

Tested on Windows 10 only.
14 Comments
macluk 5 Nov, 2020 @ 5:18am 
it's just errors only :/
infinitevalence 8 Jul, 2020 @ 8:01pm 
Any chance this can be tested on Linux? I really want to capture my city data but I keep getting errors every time it polls with a null reference pointer.
McGroggin 19 May, 2020 @ 2:16am 
An error has occured in mod's OnAfterSimulationFrame method.
Assembly: Integrator, Version=1.0.7428.26061, Culture=neutral, PublicKeyToken=null
Severity: Medium

System.NullReferenceException: Object reference not set to an instance of an object
at Integrator.IncomeExpensesPoll.CalculateArenasExpenses (ArenaIndex arenaIndex, System.Int64+ expenses) [0x00000] in <filename unknown>:0
at Integrator.IncomeExpensesPoll.GetVarsityArenaExpenses (SubService subService, ...
at Integrator.IncomeExpensesPoll.Poll (System.String moneyFormat, System.Globalization.CultureInfo moneyLocale) ...
at Integrator.IntegratorInfo+IntegratorThreading.getExpenses () [0x00000] in <filename unknown>:0
at Integrator.IntegratorInfo+IntegratorThreading.OnAfterSimulationFrame () [0x00000] in <filename unknown>:0
at HealkitMod.Patches.ThreadingWrapperOnAfterSimulationFramePatch.Prefix (System.Collections.Generic.List`1 ___m_ThreadingExtensions) [0x00000] in <filename unknown>:0
McGroggin 19 May, 2020 @ 2:14am 
Mod is throwing an exception every time it polls with the error below when the game is un-paused.

Log appears to be writing correctly with error suppressed.

Error character count exceeds comment limit. I'll post what I can of it in a following thread.
leftbehind 9 May, 2020 @ 10:31pm 
Marked as updated and fixed in next update to mod compatibility checker.
leftbehind 27 Mar, 2020 @ 9:32pm 
There were updates to many parts of the game in Sunset Harbor update and it seems one has broken this mod.
rkumob 13 Mar, 2020 @ 10:08am 
Unfortunately mod is generating null reference exception every N seconds where N is number of seconds in poll interval. However the file is updating.

This is the first time I install this mod, so I'm not familiar with output format and contents, but I don't get that "line_passengers" rows in the file as seen on mod's thumbnail. I see types from "energy" to "building_stats".

I have TMPE 11 and IPT2, if this helps.

Also, recently I removed Natural Disasters DLC. Might that be the problem? All other non-radio DLCs including Mass Transit are installed.
ace0015 14 Dec, 2019 @ 9:01pm 
This mod is wonderful, thank you for this. I'm using Python to parse the log and create some interesting charts. I am wondering if it is possible to also provide district-specific stats for each of these categories? It would allow for some very interesting comparisons of how different parts of the city are specializing and developing. Thanks for the great tool.
Lachlan  [author] 15 Nov, 2019 @ 2:42pm 
@zoltan.kocsis.1990 make sure C:\temp exists, or try changing the output destination in the settings
zoltan.kocsis.1990 13 Nov, 2019 @ 1:40am 
Windows 7: Could not find a part of the path "C:\temp\citiesout.txt". [System.IO.DirectoryNotFoundException]

Details:
No details