![]() I would think you would want to do something immutable like App ID or App GUID for the tagging, but it'd be ideal if there was a lookup key within splunk to give it a "pretty" name. One noteworthy "problem" with the title is that titles can change over time. You could always output that mapping to a file on disk, though, too. it's not going to be a part of the path or log file at runtime, etc. The easiest way to get that mapping is with the connectapi package (the get_content() function), but that would probably be an "after the fact" tagging - i.e. This is definitely a rough edge (log aggregation) that I am personally really excited about making some improvements on! I haven't tried this myself, and am definitely long due to do so!ĭo you have an example / working splunk config that you are currently working against? I'm not sure what tools are at your disposal in splunk - is there a way to tag things after the fact? There is definitely a mapping from "app ID" (45 in the case above) to the title of the app, let's say. from the session or serverInfo then I can probably do this during Rprofile.site your feedback continues to amaze, thank you! ![]() If I can find a way to identify the current running app (e.g. somehow getting RStudio Connect to inject the Shiny/Markdown/Plumber name into the stdout alongside the "Starting R with process ID" header. I'm wondering if I can do something at the admin level by including a line in the log files - e.g. how have you managed to get the logs into splunk including tagging the splunk logs with RStudio Connect at least which app is running information? Has anyone already looked at this area? e.g. ![]() if I'm running a shiny app deployed as "EarthquakeTracker" then I'd like to have a tag in splunk which allows me to search for all "EarthquakeTracker" logs. #Splunk file monitor has header how to#However, I'm struggling a bit trying to work out how to ingest the logs with app.markdown metadata into splunk.Į.g. folders like /var/lib/rstudio-connect/jobs/45/yGVowwKSbridm8KU/ and I've seen that there are files in there like bundle which can help me reference back to the /var/lib/rstudio-connect/apps and /var/lib/rstudio-connect/bundles folders. I've spotted (from help in docs/admin/files-directories.html#application-logs) the deconstructed app stdout and stderr logs in e.g. I'm currently investigating solutions for getting our RStudio Connect application logs into our splunk store for centralised dashboards, monitoring, investigations, etc ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |