rendered paste body
$view = new view;
$view->name = 'ipaddress';
$view->description = '';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'accesslog';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
'counter' => array(
'label' => 'View result counter',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'counter_start' => '1',
'exclude' => 0,
'id' => 'counter',
'table' => 'views',
'field' => 'counter',
'relationship' => 'none',
),
'title' => array(
'label' => 'Page title',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'display_as_link' => 1,
'exclude' => 0,
'id' => 'title',
'table' => 'accesslog',
'field' => 'title',
'relationship' => 'none',
),
'path' => array(
'label' => 'Path',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'display_as_link' => 1,
'exclude' => 0,
'id' => 'path',
'table' => 'accesslog',
'field' => 'path',
'relationship' => 'none',
),
'sid' => array(
'label' => 'Session ID',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'sid',
'table' => 'accesslog',
'field' => 'sid',
'relationship' => 'none',
),
'timestamp' => array(
'label' => 'Timestamp',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'date_format' => 'small',
'custom_date_format' => '',
'exclude' => 0,
'id' => 'timestamp',
'table' => 'accesslog',
'field' => 'timestamp',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
));
$handler->override_option('sorts', array(
'timestamp' => array(
'order' => 'DESC',
'id' => 'timestamp',
'table' => 'accesslog',
'field' => 'timestamp',
'relationship' => 'none',
),
));
$handler->override_option('filters', array(
'title' => array(
'operator' => '=',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 0,
'operator' => 'title_op',
'identifier' => 'title',
'label' => 'Access log: Page title',
'optional' => 1,
'remember' => 0,
),
'case' => 1,
'id' => 'title',
'table' => 'accesslog',
'field' => 'title',
'relationship' => 'none',
),
'path' => array(
'operator' => 'contains',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 0,
'operator' => 'path_op',
'identifier' => 'path',
'label' => 'Access log: Path',
'optional' => 1,
'remember' => 0,
),
'case' => 1,
'id' => 'path',
'table' => 'accesslog',
'field' => 'path',
'relationship' => 'none',
),
'timestamp' => array(
'operator' => '<',
'value' => array(
'type' => 'offset',
'value' => '+ 1 day',
'min' => '',
'max' => '',
),
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 1,
'operator' => 'timestamp_op',
'identifier' => 'timestamp',
'label' => 'Access log: Timestamp',
'optional' => 1,
'remember' => 0,
),
'id' => 'timestamp',
'table' => 'accesslog',
'field' => 'timestamp',
'relationship' => 'none',
),
));
$handler->override_option('access', array(
'type' => 'role',
'role' => array(
'4' => 4,
),
));
$handler->override_option('cache', array(
'type' => 'none',
));
$handler->override_option('items_per_page', 3000);
$handler->override_option('style_plugin', 'table');
$handler->override_option('style_options', array(
'grouping' => '',
'override' => 1,
'sticky' => 0,
'order' => 'asc',
'columns' => array(
'sid' => 'sid',
'title' => 'title',
'rownumber' => 'rownumber',
'counter' => 'counter',
'path' => 'path',
),
'info' => array(
'sid' => array(
'sortable' => 0,
'separator' => '---------',
),
'title' => array(
'sortable' => 0,
'separator' => '------------',
),
'rownumber' => array(
'separator' => '------------',
),
'counter' => array(
'separator' => '------------',
),
'path' => array(
'sortable' => 0,
'separator' => '------------',
),
),
'default' => '-1',
));
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('path', 'UserJourney');
$handler->override_option('menu', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));