{"id":6412,"date":"2023-12-12T14:15:35","date_gmt":"2023-12-12T21:15:35","guid":{"rendered":"https:\/\/ioflood.com\/blog\/?p=6412"},"modified":"2023-12-12T14:16:36","modified_gmt":"2023-12-12T21:16:36","slug":"journalctl-linux-command","status":"publish","type":"post","link":"https:\/\/ioflood.com\/blog\/journalctl-linux-command\/","title":{"rendered":"Linux Logging with the &#8216;journalctl&#8217; Command Explained"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/ioflood.com\/blog\/wp-content\/uploads\/2023\/12\/Graphic-of-Linux-screen-displaying-journalctl-command-emphasizing-system-log-management-and-error-tracking-300x300.jpg\" alt=\"Graphic of Linux screen displaying journalctl command emphasizing system log management and error tracking\" width=\"300\" height=\"300\" title=\"\"><\/figure>\n<\/div>\n<p>Are you finding it challenging to manage system logs in Linux? You&#8217;re not alone. Many users find themselves overwhelmed when it comes to handling system logs, but there&#8217;s a command that can make this process a breeze.<\/p>\n<p>Think of the &#8216;journalctl&#8217; command as your personal librarian, helping you navigate through your system&#8217;s logs with ease. It&#8217;s a powerful tool that can streamline your log management, making it easier to troubleshoot issues and keep track of what&#8217;s happening on your system.<\/p>\n<p><strong>In this guide, we&#8217;ll walk you through the process of using the journalctl command in Linux, from the basics to more advanced techniques.<\/strong> We&#8217;ll cover everything from simple log queries to complex log filtering, as well as alternative approaches and troubleshooting common issues.<\/p>\n<p>So, let&#8217;s dive in and start mastering the journalctl command in Linux!<\/p>\n<h2>TL;DR: How Do I Use the Journalctl Command in Linux?<\/h2>\n<blockquote><p>\n  The <code>journalctl<\/code> command in Linux is used to query and display messages from the systemd journal. It is used with the syntax, <code>journalctl [arguments]<\/code>.\n<\/p><\/blockquote>\n<p>Here&#8217;s a simple example:<\/p>\n<pre><code class=\"language-bash line-numbers\">journalctl -b\n\n# Output:\n# -- Logs begin at Mon 2021-05-24 14:08:01 PDT, end at Mon 2021-05-24 15:46:01 PDT. --\n# May 24 14:08:01 localhost systemd[1]: Started Dispatch Password Requests to Console Directory Watch.\n# May 24 14:08:01 localhost systemd[1]: Reached target Paths.\n# ...\n<\/code><\/pre>\n<p>In this example, we use the <code>journalctl -b<\/code> command to display all messages from the current boot. This is a basic use of the journalctl command, but it&#8217;s a powerful tool with many more advanced features.<\/p>\n<blockquote><p>\n  If you&#8217;re interested in learning more about how to use the journalctl command in Linux, including more advanced usage and tips, keep reading!\n<\/p><\/blockquote>\n<h2>Getting Started with Journalctl<\/h2>\n<p>The journalctl command is a versatile tool that allows you to interact with the systemd journal system. For beginners, understanding its basic usage is crucial to unlock its potential.<\/p>\n<h3>The Basic Journalctl Command<\/h3>\n<p>The most basic usage of the journalctl command is to run it without any options:<\/p>\n<pre><code class=\"language-bash line-numbers\">journalctl\n\n# Output:\n# -- Logs begin at Mon 2021-05-24 14:08:01 PDT, end at Mon 2021-05-24 15:46:01 PDT. --\n# May 24 14:08:01 localhost systemd[1]: Started Dispatch Password Requests to Console Directory Watch.\n# May 24 14:08:01 localhost systemd[1]: Reached target Paths.\n# ...\n<\/code><\/pre>\n<p>When run without any options, journalctl will display the entire systemd journal, starting with the oldest entry. The output can be quite long, so it&#8217;s often more useful to use journalctl in combination with other commands or options to filter the output.<\/p>\n<h3>Navigating the Output<\/h3>\n<p>When you run journalctl without any options, it opens the full journal in a less program, which allows you to navigate the output. Here are some basic navigation commands:<\/p>\n<ul>\n<li>Use the Up and Down arrow keys to scroll line by line.<\/li>\n<li>Use the Page Up and Page Down keys to scroll one screen at a time.<\/li>\n<li>Press the Home key to go to the start of the journal, or the End key to go to the most recent entries.<\/li>\n<\/ul>\n<p>The journalctl command is a powerful tool, but it&#8217;s also complex. While it&#8217;s simple to run a basic journalctl command, understanding the output and knowing how to filter it is a skill that takes time to develop. But don&#8217;t worry, we&#8217;ll cover more advanced usage in the next sections.<\/p>\n<h2>Diving Deeper into Journalctl<\/h2>\n<p>Once you&#8217;ve grasped the basics of the journalctl command, it&#8217;s time to delve into its more advanced features. The journalctl command offers a wealth of options and flags to help you filter and format your logs, making it easier to find the information you need.<\/p>\n<p>Before we explore these advanced features, let&#8217;s familiarize ourselves with some of the command-line arguments or flags that can modify the behavior of the journalctl command. Here&#8217;s a table with some of the most commonly used journalctl arguments.<\/p>\n<table>\n<thead>\n<tr>\n<th>Argument<\/th>\n<th>Description<\/th>\n<th>Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>-f<\/code><\/td>\n<td>Follow the journal and show new entries as they are added.<\/td>\n<td><code>journalctl -f<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>-k<\/code><\/td>\n<td>Show only kernel messages.<\/td>\n<td><code>journalctl -k<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>-b<\/code><\/td>\n<td>Show messages from a specific boot.<\/td>\n<td><code>journalctl -b -1<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>-u<\/code><\/td>\n<td>Filter messages by a specific service.<\/td>\n<td><code>journalctl -u apache.service<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>-p<\/code><\/td>\n<td>Filter messages by priority.<\/td>\n<td><code>journalctl -p err<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>--since<\/code><\/td>\n<td>Show messages since a specific time.<\/td>\n<td><code>journalctl --since \"2021-05-24 14:08:01\"<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>--until<\/code><\/td>\n<td>Show messages until a specific time.<\/td>\n<td><code>journalctl --until \"2021-05-24 15:46:01\"<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>-r<\/code><\/td>\n<td>Reverse the output, showing the newest entries first.<\/td>\n<td><code>journalctl -r<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>-n<\/code><\/td>\n<td>Limit the number of shown lines.<\/td>\n<td><code>journalctl -n 20<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>--no-pager<\/code><\/td>\n<td>Do not pipe output into a pager.<\/td>\n<td><code>journalctl --no-pager<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Now that we have a basic understanding of journalctl command line arguments, let&#8217;s dive deeper into the advanced use of journalctl.<\/p>\n<h3>Filtering Logs by Time<\/h3>\n<p>One common use case for journalctl is to filter logs by time. For example, if you want to see all logs from the last hour, you can use the <code>--since<\/code> and <code>--until<\/code> options like this:<\/p>\n<pre><code class=\"language-bash line-numbers\">journalctl --since \"1 hour ago\"\n\n# Output:\n# -- Logs begin at Mon 2021-05-24 14:08:01 PDT, end at Mon 2021-05-24 15:46:01 PDT. --\n# May 24 14:46:01 localhost systemd[1]: Started Dispatch Password Requests to Console Directory Watch.\n# May 24 14:46:01 localhost systemd[1]: Reached target Paths.\n# ...\n<\/code><\/pre>\n<p>In this example, the <code>--since \"1 hour ago\"<\/code> option tells journalctl to show all logs from the last hour. This can be extremely useful when you&#8217;re trying to troubleshoot an issue that occurred recently.<\/p>\n<h3>Filtering Logs by Service<\/h3>\n<p>Another advanced feature of journalctl is the ability to filter logs by service. For example, if you want to see all logs from the apache service, you can use the <code>-u<\/code> option like this:<\/p>\n<pre><code class=\"language-bash line-numbers\">journalctl -u apache.service\n\n# Output:\n# -- Logs begin at Mon 2021-05-24 14:08:01 PDT, end at Mon 2021-05-24 15:46:01 PDT. --\n# May 24 14:08:01 localhost apache[1]: Started The Apache HTTP Server.\n# May 24 14:08:01 localhost apache[1]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message\n# ...\n<\/code><\/pre>\n<p>In this example, the <code>-u apache.service<\/code> option tells journalctl to show all logs from the apache service. This can be extremely useful when you&#8217;re trying to troubleshoot a specific service.<\/p>\n<h3>Filtering Logs by Priority<\/h3>\n<p>The journalctl command also allows you to filter logs by priority. For example, if you want to see all error logs, you can use the <code>-p<\/code> option like this:<\/p>\n<pre><code class=\"language-bash line-numbers\">journalctl -p err\n\n# Output:\n# -- Logs begin at Mon 2021-05-24 14:08:01 PDT, end at Mon 2021-05-24 15:46:01 PDT. --\n# May 24 14:08:01 localhost kernel: ACPI Error: Needed type [Reference], found [Integer] 0000000076e6d98f (20170831\/exresop-103)\n# May 24 14:08:01 localhost kernel: ACPI Error: Method parse\/execution failed \\_PR.CPU0._PDC, AE_AML_OPERAND_TYPE (20170831\/psparse-550)\n# ...\n<\/code><\/pre>\n<p>In this example, the <code>-p err<\/code> option tells journalctl to show all logs with a priority of err or higher. This can be extremely useful when you&#8217;re trying to troubleshoot a serious issue.<\/p>\n<h2>Exploring Alternatives to Journalctl<\/h2>\n<p>While the journalctl command is a powerful tool for managing system logs in Linux, it&#8217;s not the only tool available. In this section, we&#8217;ll explore some alternative commands that can accomplish similar tasks, including dmesg and syslog.<\/p>\n<h3>Dmesg: Kernel Ring Buffer Logs<\/h3>\n<p>The dmesg command allows you to access the kernel ring buffer, a data structure that stores messages related to the operation of the kernel. These messages can help you troubleshoot issues with hardware or drivers.<\/p>\n<p>Here&#8217;s a basic example of how to use the dmesg command:<\/p>\n<pre><code class=\"language-bash line-numbers\">dmesg | less\n\n# Output:\n# [    0.000000] Linux version 4.15.0-29-generic (buildd@lgw01-amd64-039) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 (Ubuntu 4.15.0-29.31-generic 4.15.18)\n# [    0.000000] Command line: BOOT_IMAGE=\/boot\/vmlinuz-4.15.0-29-generic root=UUID=4e3c8e74-3c22-4a2b-8a8d-2fa7f10c2a00 ro quiet splash vt.handoff=1\n# ...\n<\/code><\/pre>\n<p>In this example, <code>dmesg | less<\/code> pipes the output of dmesg into less, allowing you to scroll through the messages. While dmesg is a powerful tool, it only provides access to kernel messages, unlike journalctl, which provides access to system-wide logs.<\/p>\n<h3>Syslog: Traditional Logging System<\/h3>\n<p>Syslog is a standard for message logging, used by many different kinds of devices and systems. It allows for the separation of the software that generates messages, the system that stores them, and the software that reports and analyzes them.<\/p>\n<p>Here&#8217;s an example of how to view the syslog in Linux:<\/p>\n<pre><code class=\"language-bash line-numbers\">cat \/var\/log\/syslog | less\n\n# Output:\n# May 24 14:08:01 localhost rsyslogd: [origin software=\"rsyslogd\" swVersion=\"8.32.0\" x-pid=\"876\" x-info=\"http:\/\/www.rsyslog.com\"] rsyslogd was HUPed\n# May 24 14:08:01 localhost systemd[1]: Starting Clean php session files...\n# ...\n<\/code><\/pre>\n<p>In this example, <code>cat \/var\/log\/syslog | less<\/code> displays the contents of the syslog file. While syslog is a robust logging system, it lacks some of the advanced query and filtering features of journalctl.<\/p>\n<p>In conclusion, while journalctl is a powerful tool for managing system logs in Linux, there are alternative commands like dmesg and syslog that can accomplish similar tasks. The choice between these tools depends on your specific needs and the nature of the issues you&#8217;re troubleshooting.<\/p>\n<h2>Overcoming Journalctl Hurdles<\/h2>\n<p>While journalctl is a potent tool, it&#8217;s not without its quirks and challenges. Let&#8217;s explore some common issues you might encounter when using the journalctl command and how to resolve them.<\/p>\n<h3>Journalctl Command Not Found<\/h3>\n<p>If you type <code>journalctl<\/code> and receive a <code>command not found<\/code> error, it means the journalctl utility is not installed on your system. This issue is common on older distributions or minimal installations that don&#8217;t use systemd.<\/p>\n<p>To resolve this, you will need to install systemd, which includes the journalctl utility. Here&#8217;s how you can do it on a Debian-based system:<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo apt-get update\nsudo apt-get install systemd\n\n# Output:\n# Reading package lists... Done\n# Building dependency tree\n# Reading state information... Done\n# systemd is already the newest version (237-3ubuntu10.47).\n# 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\n<\/code><\/pre>\n<p>In this example, we use the <code>sudo apt-get update<\/code> command to update the package lists for upgrades and new package installations. Then, we use the <code>sudo apt-get install systemd<\/code> command to install systemd, which includes the journalctl utility.<\/p>\n<h3>No Journal Files Were Found<\/h3>\n<p>If you type <code>journalctl<\/code> and receive a <code>No journal files were found<\/code> error, it means the systemd journal is not enabled on your system. This issue can occur on systems where rsyslog is used instead of the systemd journal.<\/p>\n<p>To resolve this, you will need to enable the systemd journal. Here&#8217;s how you can do it:<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo mkdir -p \/var\/log\/journal\nsudo systemd-tmpfiles --create --prefix \/var\/log\/journal\n\n# Output:\n# Created directory \/var\/log\/journal.\n# Created directory \/var\/log\/journal\/8d45620b170c4310927f9938f5d0d2b3.\n<\/code><\/pre>\n<p>In this example, we use the <code>sudo mkdir -p \/var\/log\/journal<\/code> command to create the journal directory. Then, we use the <code>sudo systemd-tmpfiles --create --prefix \/var\/log\/journal<\/code> command to create the necessary files for the systemd journal.<\/p>\n<h3>Journalctl Output Too Verbose<\/h3>\n<p>If you find the output of the journalctl command too verbose, you can use various options to filter and format the output. For example, you can use the <code>-p<\/code> option to filter logs by priority, the <code>--since<\/code> and <code>--until<\/code> options to filter logs by time, or the <code>-u<\/code> option to filter logs by service.<\/p>\n<p>Remember, journalctl is a powerful tool, but like all tools, it requires practice to master. Don&#8217;t be discouraged if you encounter these or other issues. With time and experience, you&#8217;ll become proficient at using journalctl to manage your system logs.<\/p>\n<h2>Systemd Journal: The Core of Linux Logging<\/h2>\n<p>Before we delve deeper into the journalctl command, it&#8217;s essential to understand the systemd journal, the system component it interacts with. The systemd journal is a system service for collecting and managing logs, a critical part of any Linux system.<\/p>\n<h3>The Role of the Systemd Journal<\/h3>\n<p>Systemd journal plays a crucial role in managing system logs. It collects messages from all available sources and stores them in a central location, providing a unified logging system. This centralized approach to logging makes it easier to troubleshoot issues and monitor system activity.<\/p>\n<p>The systemd journal is binary and stored in <code>\/run\/log\/journal\/<\/code> for volatile logs and <code>\/var\/log\/journal\/<\/code> for persistent logs. Binary logs offer several advantages over text-based logs, including better performance, more accurate timestamps, and the ability to store structured data.<\/p>\n<h3>How Journalctl Interacts with Systemd Journal<\/h3>\n<p>The journalctl command is the primary tool for interacting with the systemd journal. It allows you to query and display the logs collected by the systemd journal. Here&#8217;s an example of how to use journalctl to display all logs from the current boot:<\/p>\n<pre><code class=\"language-bash line-numbers\">journalctl -b\n\n# Output:\n# -- Logs begin at Mon 2021-05-24 14:08:01 PDT, end at Mon 2021-05-24 15:46:01 PDT. --\n# May 24 14:08:01 localhost systemd[1]: Started Dispatch Password Requests to Console Directory Watch.\n# May 24 14:08:01 localhost systemd[1]: Reached target Paths.\n# ...\n<\/code><\/pre>\n<p>In this example, the <code>-b<\/code> option tells journalctl to display all logs from the current boot. The output includes a timestamp, the system hostname, the process that generated the message, and the message itself.<\/p>\n<h3>The Big Picture: Systemd Journal in Context<\/h3>\n<p>While the systemd journal and the journalctl command are powerful tools for managing system logs, they&#8217;re just one part of the broader Linux logging ecosystem. Other tools, like syslog and dmesg, also play crucial roles in collecting and managing logs. The choice of tool depends on your specific needs and the nature of the logs you&#8217;re working with.<\/p>\n<p>In conclusion, understanding the systemd journal and how it works with the journalctl command is key to mastering Linux log management. With this knowledge in hand, you&#8217;ll be better equipped to troubleshoot issues, monitor system activity, and maintain a healthy Linux system.<\/p>\n<h2>Utilizing Journalctl in Larger Contexts<\/h2>\n<p>The journalctl command, while powerful on its own, can also be an integral part of larger scripts or projects, providing valuable insights into system events and aiding in troubleshooting.<\/p>\n<h3>Integrating Journalctl in Scripts<\/h3>\n<p>For instance, you might want to create a script that regularly checks specific system logs and sends alerts if certain events occur. Here&#8217;s a simple example of how you might use journalctl in a bash script:<\/p>\n<pre><code class=\"language-bash line-numbers\">#!\/bin\/bash\n\n# Check for error messages in the last hour\nerrors=$(journalctl --since \"1 hour ago\" -p err)\n\n# If there are any errors, send an alert\nif [[ -n $errors ]]; then\n    echo \"Error Alert: $errors\" | mail -s \"System Error Detected\" admin@example.com\nfi\n<\/code><\/pre>\n<p>In this script, we first use the journalctl command to check for error messages in the last hour. If any errors are found, an alert is sent via email.<\/p>\n<h3>Complementary Commands<\/h3>\n<p>In addition to journalctl, there are several other commands that often accompany it in typical use cases. For instance, the <code>systemctl<\/code> command, which is used to control the systemd system and service manager, is often used in conjunction with journalctl to manage system services.<\/p>\n<p>Here&#8217;s an example of how you might use systemctl and journalctl together to restart a service and check its logs:<\/p>\n<pre><code class=\"language-bash line-numbers\"># Restart the apache service\nsudo systemctl restart apache.service\n\n# Check the apache service logs\njournalctl -u apache.service\n<\/code><\/pre>\n<p>In this example, we first use the <code>systemctl restart apache.service<\/code> command to restart the apache service. Then, we use the <code>journalctl -u apache.service<\/code> command to check the logs for the apache service.<\/p>\n<h3>Further Resources for Mastering Journalctl<\/h3>\n<p>To delve deeper into the world of Linux logging and the journalctl command, here are some additional resources:<\/p>\n<ol>\n<li><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.loggly.com\/ultimate-guide\/linux-logging-basics\/\" target=\"_blank\" rel=\"noopener\">The Logging System<\/a>: A comprehensive guide on the logging systems, including how it works and how to use it effectively.<\/p>\n<\/li>\n<li>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.freedesktop.org\/software\/systemd\/man\/journald.conf.html\" target=\"_blank\" rel=\"noopener\">The journald.conf man page<\/a>: The official documentation for the journald.conf configuration file, which controls various aspects of the systemd journal and the journalctl command.<\/p>\n<\/li>\n<li>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.baeldung.com\/linux\/logging-mechanism\" target=\"_blank\" rel=\"noopener\">Guide on Linux Logging Mechanism<\/a>: This guide provides an overview of the logging mechanism in Linux, covering various logging frameworks and tools available.<\/p>\n<\/li>\n<\/ol>\n<p>These resources should provide you with a wealth of information to further enhance your understanding and usage of the journalctl command.<\/p>\n<h2>Wrapping Up: Mastering the Journalctl Command in Linux<\/h2>\n<p>In this comprehensive guide, we&#8217;ve explored the journalctl command in Linux, an essential tool for managing system logs.<\/p>\n<p>We started with the basics, learning how to use the journalctl command to query and display messages from the systemd journal. We then delved into more advanced techniques, such as filtering logs by time, service, or priority, and explored alternative approaches, like using dmesg or syslog.<\/p>\n<p>We also tackled common challenges you might face when using the journalctl command, providing solutions and workarounds for each issue. And we took a deep dive into the systemd journal itself, understanding its role and how it works with the journalctl command.<\/p>\n<p>Here&#8217;s a quick comparison of the methods we&#8217;ve discussed:<\/p>\n<table>\n<thead>\n<tr>\n<th>Method<\/th>\n<th>Pros<\/th>\n<th>Cons<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>journalctl<\/td>\n<td>Powerful, versatile, supports many filters<\/td>\n<td>Can be verbose, requires practice to master<\/td>\n<\/tr>\n<tr>\n<td>dmesg<\/td>\n<td>Access to kernel messages<\/td>\n<td>Only provides kernel messages<\/td>\n<\/tr>\n<tr>\n<td>syslog<\/td>\n<td>Robust, widely used<\/td>\n<td>Lacks advanced query and filtering features<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Whether you&#8217;re a beginner just starting out with Linux or an experienced system administrator looking to level up your skills, we hope this guide has helped you master the journalctl command.<\/p>\n<p>With its comprehensive logging capabilities and advanced features, journalctl is a powerful tool in any Linux user&#8217;s toolkit. Happy log hunting!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you finding it challenging to manage system logs in Linux? You&#8217;re not alone. Many users find themselves overwhelmed when it comes to handling system logs, but there&#8217;s a command that can make this process a breeze. Think of the &#8216;journalctl&#8217; command as your personal librarian, helping you navigate through your system&#8217;s logs with ease. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":13633,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[124,3,9],"tags":[],"class_list":["post-6412","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bash","category-linux","category-sysadmin","cat-124-id","cat-3-id","cat-9-id","has_thumb"],"_links":{"self":[{"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/posts\/6412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/comments?post=6412"}],"version-history":[{"count":6,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/posts\/6412\/revisions"}],"predecessor-version":[{"id":13676,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/posts\/6412\/revisions\/13676"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/media\/13633"}],"wp:attachment":[{"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/media?parent=6412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/categories?post=6412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/tags?post=6412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}