<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>engetu21</author_name>
  <author_url>https://blog.hatena.ne.jp/engetu21/</author_url>
  <blog_title>技術メモ</blog_title>
  <blog_url>https://engetu21.hatenablog.com/</blog_url>
  <categories>
    <anon>LIVA</anon>
    <anon>Ubuntu</anon>
    <anon>Linux設定</anon>
  </categories>
  <description>iptablesの設定でログを出力できますが、これらは「/var/log/kern.log」に出力されるので、必要なログだけを抜粋できるようにします。 1.出力設定ファイルを作る $sudo vi /etc/rsyslog.d/iptables.conf:msg,contains,&quot;DROP&quot; /var/log/iptables/DROP.log :msg～から続く記載をします。&quot;&quot;で括った文字列がkern.logにあれば、それを/var/log/iptables/DROP.logに抽出します。 &quot;DROP&quot;という文字列は普通はkern.logされませんが、iptablesの設定で /sbin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengetu21.hatenablog.com%2Fentry%2F2014%2F10%2F12%2F221210&quot; title=&quot;【LIVA】【Ubuntu server14.04】iptablesのログを個別ファイルに出力 - 技術メモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-10-12 22:12:10</published>
  <title>【LIVA】【Ubuntu server14.04】iptablesのログを個別ファイルに出力</title>
  <type>rich</type>
  <url>https://engetu21.hatenablog.com/entry/2014/10/12/221210</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
