title: InfluxDB schema - new Series, Measurement, Database or Server?
body: <p>I want to collect:</p>
  
  <ul>
  <li>Server KPIs <em>(cpu/ram/disk/etc)</em>;</li>
  <li>Web Access Logs <em>(method/path/status/etc)</em>;</li>
  <li>Services up-status <em>(serviceX is running, serviceY is down, etc)</em>;</li>
  <li>...</li>
  </ul>
  
  <p>I am already collecting Server KPIs into an InfluxDB server similar to:</p>
  
  <pre><code>InfluxDB
  --&gt; database_xyz
  ----&gt; measurement_CPU
  ------&gt; tag layer: "web"
          tag server: "webserver-1"
          value cpu_idle: 93
          value cpu_something: 4
  ----&gt; measurement_RAM
  ------&gt; tag layer: "web"
          tag server: "webserver-1"
          value RAM_Free: 65536
  </code></pre>
  
  <p>Now I want to also collect, say, the Web Access Logs but I'm unsure how exactly InfluxDB is meant to be structured.</p>
  
  <p><strong>1)</strong> Should we <strong>add everything to the same measurement</strong> but filtered by Tags?</p>
  
  <p><strong>2)</strong> Should we create <strong>a different Measurement per</strong> .. type of log <em>(ex: ServerKPIs, WebAccessLogs)</em> or per type of sub-log <em>(ex: ServerKPI-CPU, ServerKPI-RAM)</em>?</p>
  
  <p><strong>3)</strong> Should we create <strong>a different Database</strong> altogether per type of log?</p>
  
  <p><strong>4)</strong> Should we create <strong>a different InfluxDB server</strong> per type of log?</p>
  
  <hr>
  
  <p>1) This just feels so clunky and ugly... However, looks to me completely feasible and I can't think of any technical drawbacks. Can this give me the best flexibility/ease to in the future process the data <em>(ex: CPU used per Request/s)</em>?</p>
  
  <p>2) Feels pretty standard to me, which is why I originally went with this structure. Am I losing any kind of ability to combine data?</p>
  
  <p>3) Seems quite reasonable to separate such disparate logs, after all, they really are different logs. Would I lose ability to combine logs <em>(ex: CPU used per Request/s)</em>?</p>
  
  <p>4) If I just create a new InfluxDB server (same machine), later scaling the system to remove bottlenecks should be quite easy, by moving each InfluxDB service into its own dedicated machine. Would I still be able to combine logs, in the likes of Grafana?</p>