Please enter search query.
Search <book_title>...
Veritas Data Insight Administrator's Guide
Last Published:
2024-06-19
Product(s):
Data Insight (7.0)
Platform: Windows
- Section I. Getting started
- Introduction to Veritas Data Insight administration
- Configuring Data Insight global settings
- About scanning and event monitoring
- About filtering certain accounts, IP addresses, and paths
- About archiving data
- About Data Insight integration with Symantec Data Loss Prevention (DLP)
- Configuring advanced analytics
- About open shares
- About user risk score
- About bulk assignment of custodians
- Configuring Metadata Framework
- Section II. Configuring Data Insight
- Configuring Data Insight product users
- Configuring Data Insight product servers
- About node templates
- About automated alerts for patches and upgrades
- Configuring saved credentials
- Configuring directory service domains
- Adding a directory service domain to Data Insight
- Configuring containers
- Section III. Configuring native file systems in Data Insight
- Configuring NetApp 7-mode file server monitoring
- Configuring clustered NetApp file server monitoring
- About configuring secure communication between Data Insight and cluster-mode NetApp devices
- Configuring EMC Celerra or VNX monitoring
- Configuring EMC Isilon monitoring
- Configuring EMC Unity VSA file servers
- Configuring Hitachi NAS file server monitoring
- Configuring Windows File Server monitoring
- Configuring Veritas File System (VxFS) file server monitoring
- Configuring monitoring of a generic device
- Managing file servers
- Adding filers
- Adding shares
- Renaming storage devices
- Configuring NetApp 7-mode file server monitoring
- Section IV. Configuring SharePoint data sources
- Configuring monitoring of SharePoint web applications
- About the Data Insight web service for SharePoint
- Adding web applications
- Adding site collections
- Configuring monitoring of SharePoint Online accounts
- About SharePoint Online account monitoring
- Adding site collections to SharePoint Online accounts
- Configuring monitoring of SharePoint web applications
- Section V. Configuring cloud data sources
- Configuring monitoring of Box accounts
- Configuring OneDrive account monitoring
- Managing cloud sources
- Section VI. Configuring Object Storage Sources
- Section VII. Health and monitoring
- Section VIII. Alerts and policies
- Section IX. Remediation
- Configuring remediation settings
- Section X. Reference
- Appendix A. Data Insight best practices
- Appendix B. Migrating Data Insight components
- Appendix C. Backing up and restoring data
- Appendix D. Data Insight health checks
- About Data Insight health checks
- About Data Insight health checks
- Appendix E. Command File Reference
- Appendix F. Data Insight jobs
- Appendix G. Troubleshooting
- Troubleshooting FPolicy issues on NetApp devices
Creating an Athena table
To Create an Athena table for a trail using the Athena console
- Log in to at https://console.aws.amazon.com/athena/
- Open the Query Editor tab and enter the following Hive data definition language (DDL) command CREATE DATABASE <myDataBase> . Replace myDatabase with the name of the database that you want to create.
- Select Run Query or press Ctrl+ENTER.
- From the Database menu, select your database. It will then be considered as the current database.
- Navigate to the Query Editor and under Database select Create table >> Create table option
- Paste the query given below in the query window
Note:
Replace trail-log-location with the location copied from AWS. For more information, refer to See Configuring Audit Events in AWS .
CREATE EXTERNAL TABLE `cloudtrail_logs_aws_data_events`(
`eventversion` string COMMENT 'from deserializer',
`useridentity`
struct<type:string,principalid:string,arn:string,accountid:string, invokedby:string,acces
skeyid:string,username:string,sessioncontext:struct <attributes:struct<mfaauthenticat
ed:string,creationdate:string>,sessionissuer:struct <type:string,principalid:string,arn:st
ring,accountid:string,username:string>>> COMMENT 'from deserializer',
`eventtime` string COMMENT 'from deserializer',
`eventsource` string COMMENT 'from deserializer',
`eventname` string COMMENT 'from deserializer',
`awsregion` string COMMENT 'from deserializer',
`sourceipaddress` string COMMENT 'from deserializer',
`useragent` string COMMENT 'from deserializer',
`errorcode` string COMMENT 'from deserializer'
`errormessage` string COMMENT 'from deserializer',
`requestparameters` string COMMENT 'from deserializer',
`responseelements` string COMMENT 'from deserializer',
`additionaleventdata` string COMMENT 'from deserializer',
`requestid` string COMMENT 'from deserializer',
`eventid` string COMMENT 'from deserializer',
`resources` array<struct<arn:string,accountid:string,type:string>> COMMENT 'from deserializer',
`eventtype` string COMMENT 'from deserializer',
`apiversion` string COMMENT 'from deserializer',
`readonly` string COMMENT 'from deserializer',
`recipientaccountid` string COMMENT 'from deserializer',
`serviceeventdetails` string COMMENT 'from deserializer',
`sharedeventid` string COMMENT 'from deserializer',
`vpcendpointid` string COMMENT 'from deserializer')
PARTITIONED BY (`region` string,
`timestamp` string)
ROW FORMAT SERDE
'com.amazon.emr.hive.serde.CloudTrailSerde'
STORED AS INPUTFORMAT
'com.amazon.emr.cloudtrail.CloudTrailInputFormat'
OUTPUTFORMAT
'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION
's3://<trail-log-location>/CloudTrail/${region}'
Note:
Replace trail-log-location with the location copied from AWS. For more information, refer to See Configuring Audit Events in AWS .
TBLPROPERTIES (
'classification'='cloudtrail',
'projection.enabled'='true',
'projection.timestamp.format'='yyyy/MM/dd',
'projection.timestamp.interval'='1',
'projection.timestamp.interval.unit'='DAYS',
'projection.timestamp.range'='2020/01/01,NOW',
'projection.timestamp.type'='date',
'projection.region.type'='ENUM',
'projection.region.values'='us-east-2,us-east-1,us-west-1, us-west-2,ca-central-1,af-south-1,ap-east-1,ap-south-1,ap-northeast-3,ap-northeast-2, ap-southeast-1,ap-southeast-2,ap-northeast-1,cn-north-1,cn-northwest-1,eu-central-1, eu-north-1,eu-west-1,eu-west-2,eu-west-3,eu-south-1,me-south-1,us-gov-east-1, us-gov-west-1,sa-east-1',
'storage.location.template'='s3://[trail-log-location]/CloudTrail/ ${region}/${timestamp}')
Note:
Replace trail-log-location with the location copied from AWS. For more information, refer to See Configuring Audit Events in AWS .
Note:
AWS Athena stores every query results in the bucket. There is no way to prevent Athena from doing it. Data Insight recommends to set a life-cycle policy on the bucket or folder. For example, you could delete query results periodically.