Sha256: fb2c1c4145ee335452cea0a5b6bd74b779facbab20da9f90f2127e53fb5c8a9a

Contents?: true

Size: 1.76 KB

Versions: 14

Compression:

Stored size: 1.76 KB

Contents

<div id="in_tail_format" class="form-group"
  formatOptions="<%= formats.to_json %>"
  initialSelected="<%= initialSelected %>"
  targetFile="<%= file %>"
  paramsJson="<%= params.to_json %>"
  >
  <div class="form-group">
    <label>
      <input type="radio" v-model="formatType" value="bundled">bundled
    </label>
    <label>
      <input type="radio" v-model="formatType" value="regexp">regexp
    </label>
  </div>

  <div v-if="formatType == 'bundled'">
    <div class="form-group">
      <label>format</label>
      <select name="setting[format]" v-model="format">
        <option v-repeat="selectableFormats" value="{{ $value }}" v-attr="selected: format==$value">{{ $value }}</option>
      </select>
    </div>
    <div class="form-group" v-repeat="options">
      <label>{{ $value }} </label>
      <input type="text" name="setting[{{ $value }}]" v-model="{{ $value }}" size="100%" />
      <span v-if="format == 'grok' && previewProcessing"><%= icon('fa-spin fa-refresh fa-lg') %></span>
    </div>
    <div v-if="format == 'grok'">
      <pre v-if="highlightedLines">{{{ highlightedLines }}}</pre>
      <div class="well well-sm">
        <%= raw t('fluentd.settings.grok_manual') %>
      </div>
    </div>
  </div>

  <div v-if="formatType == 'regexp'">
    <div class="form-group">
      <label>regexp</label>
      <input type="hidden" name="setting[format]" value="regexp" />
      <input type="text" name="setting[regexp]" v-model="regexp" size="100%" />
    </div>
    <div class="form-group">
      <label>time_format</label>
      <input type="text" name="setting[time_format]" v-model="time_format" size="100%" />
    </div>
  </div>

  <pre>{{{ highlightedLines }}}</pre>

  <div class="well well-sm">
    <%= raw t('fluentd.settings.in_tail_option_guide') %>
  </div>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fluentd-ui-0.3.8 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.3.7 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.3.6 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.3.5 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.3.3 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.3.2 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.3.1 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.3.0 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.2.0 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.1.4 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.1.3 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.1.2 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.1.1 app/views/shared/vue/_in_tail_format.html.erb
fluentd-ui-0.1.0 app/views/shared/vue/_in_tail_format.html.erb